Skip to content

Commit

Permalink
chore: readme 수정 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
alstn113 committed Nov 2, 2022
1 parent 4f68999 commit 1c409f4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,22 @@ npm i wap-ui @emotion/react @emotion/styled framer-motion

## `Usage`

```jsx
import React from 'react';

// 1. import `WapUIProvider` component
import { ChakraProvider } from '@chakra-ui/react';

function App() {
// 2. Wrap WapUIProvider at the root of your app
return (
<WapUIProvider>
<WriteYourCode />
</WapUIProvider>
);
}
```

```jsx
import React from 'react';
import { Button } from 'wap-ui';
Expand Down

0 comments on commit 1c409f4

Please sign in to comment.