diff --git a/README.md b/README.md index 18b469a..0c05df0 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ npm i @chakra-ui/react @emotion/react @emotion/styled framer-motion With this custom theme you can change the color scheme according to your Project Theme -``` +```js import { extendTheme } from '@chakra-ui/react' export const projectTheme = extendTheme({ @@ -67,7 +67,7 @@ export const projectTheme = extendTheme({ ### Wrap ChakraProvider at the root of your app -``` +```js import * as React from 'react' import { projectTheme } from './lib/theme' @@ -100,5 +100,6 @@ function App() { ### Layers -- [LayerGroup](https://github.com/wri/wri-design-systems/tree/main/src/components/LayerGroup) - [LayerItem](https://github.com/wri/wri-design-systems/tree/main/src/components/LayerItem) +- [LayerGroup](https://github.com/wri/wri-design-systems/tree/main/src/components/LayerGroup) +- [LayerPanel](https://github.com/wri/wri-design-systems/tree/main/src/components/LayerPanel) diff --git a/src/components/Button/README.md b/src/components/Button/README.md index f6a5221..6691b41 100644 --- a/src/components/Button/README.md +++ b/src/components/Button/README.md @@ -4,13 +4,13 @@ ## Import -``` +```js import { Button } from 'wri-design-systems' ``` ## Usage -``` +```html