From 1c409f40ccc639e2ad2d9b459b1baaeb848d929f Mon Sep 17 00:00:00 2001 From: neko113 Date: Wed, 2 Nov 2022 23:09:16 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20readme=20=EC=88=98=EC=A0=95=20(#46)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index c7accbb..6b0dea3 100644 --- a/README.md +++ b/README.md @@ -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 ( + + + + ); +} +``` + ```jsx import React from 'react'; import { Button } from 'wap-ui';