yarn add wap-ui @emotion/react @emotion/styled framer-motion
# or
npm i wap-ui @emotion/react @emotion/styled framer-motion
import React from 'react';
// 1. import `WapUIProvider` component
import { WapUIProvider } from 'wap-ui';
function App() {
// 2. Wrap WapUIProvider at the root of your app
return (
<WapUIProvider>
<Write-Your-Code />
</WapUIProvider>
);
}
import React from 'react';
import { Button } from 'wap-ui';
const Home = () => {
return (
<Button size="md" color="success" shadow>
๋ฒํผ
</Button>
);
};
export default Home;