v0.1
Install the design system in your application, by running the following commandnpm install serverless-design-system
Add `ThemeProvider` in your application. You can also pass theme object as prop to set custom theme.
To know more, check this out.
import { ThemeProvider } from 'serverless-design-system'
export default () => (
<ThemeProvider>
{ /* Render the root component */ }
</ThemeProvider>
)
Importing and using the components in your application
import { Box, Image } from 'serverless-design-system'
export default () => (
<Box m={1}>
<Image src={logoSource} alt="logo" />
</Box>
)