2.0.31 • Published 8 months ago
wap-ui v2.0.31
<Awesome React UI Library />
Demo
Installing WAP-UI
To use WAP UI, Install the wap-ui
package and its peer dependencies.
(@emotion/react
, @emotion/styled
, framer-motion
)
pnpm add wap-ui @emotion/react @emotion/styled framer-motion
# or
yarn add wap-ui @emotion/react @emotion/styled framer-motion
# or
npm i wap-ui @emotion/react @emotion/styled framer-motion
Usage
To start using the components, follow these steps:
- For WAP UI to work correctly, Wrap
WapUIProvider
provided bywap-ui
at root of your application.
import React from 'react';
// 1. import `WapUIProvider` component
import ReactDOM from 'react-dom/client';
import App from './App';
import { WapUIProvider } from 'wap-ui';
// 2. Wrap WapUIProvider at the root of your app
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<WapUIProvider>
<App />
</WapUIProvider>,
);
- Bring components what you want and use them.
import { Button } from 'wap-ui';
const Home = () => {
return (
<Button size="md" color="success" shadow>
버튼
</Button>
);
};
export default Home;
- You can refer to the components through Documents or Jsdocs like that.
Contributors
Links
1.2.0
1 year ago
1.1.9
1 year ago
1.1.8
1 year ago
1.1.7
1 year ago
1.1.6
1 year ago
1.1.5
2 years ago
1.1.4
2 years ago
1.2.2
1 year ago
1.1.3
2 years ago
1.2.1
1 year ago
2.0.3
8 months ago
1.0.0-beta.22
1 year ago
2.0.2
11 months ago
1.0.0-beta.23
1 year ago
1.0.0-beta.20
1 year ago
1.0.0-beta.21
1 year ago
2.0.31
8 months ago
1.0.0-beta.28
1 year ago
1.0.0-beta.29
1 year ago
1.0.0-beta.26
1 year ago
1.0.0-beta.24
1 year ago
1.0.0-beta.25
1 year ago
1.0.0-beta.19
1 year ago
1.1.2
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago