layout

v0.0.2arrow_drop_down
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
26
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
22 KB
A layout component with global styling and a ThemeProvider.
1 contributor
Install layout as a package?
Copied
npm i @bit/eden.buy-a-goldfish.common.layout
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right
Properties
NameTypeDefault valueDescription
children
(required)
node

The content of the web site

theme
{"font":"{\"primary\":\"string\",\"secondary\":\"string\",\"light\":\"string\",\"normal\":\"string\",\"medium\":\"string\",\"semibold\":\"string\",\"bold\":\"string\",\"extrabold\":\"string\"}","font_size":"{\"xxxsmall\":\"string\",\"xxsmall\":\"string\",\"xsmall\":\"string\",\"small\":\"string\",\"regular\":\"string\",\"large\":\"string\",\"larger\":\"string\",\"xlarge\":\"string\"}","color":"{\"primary\":\"string\",\"secondary\":\"string\",\"accent\":\"string\",\"background\":\"{\\\"white\\\":\\\"string\\\",\\\"light\\\":\\\"string\\\"}\",\"white\":\"{\\\"regular\\\":\\\"string\\\",\\\"lessdark\\\":\\\"string\\\",\\\"dark\\\":\\\"string\\\",\\\"darker\\\":\\\"string\\\"}\",\"black\":\"{\\\"lightest\\\":\\\"string\\\",\\\"light\\\":\\\"string\\\",\\\"regular\\\":\\\"string\\\"}\"}","screen":"{\"xs\":\"string\",\"sm\":\"string\",\"md\":\"string\",\"lg\":\"string\"}"}defaultTheme

The theme for all components in this collection

Help and resources