@designbasekorea/ui 0.2.40 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +41 -3
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.css.map +1 -1
- package/dist/index.esm.js +239 -200
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +239 -199
- package/dist/index.js.map +1 -1
- package/dist/index.umd.css +1 -1
- package/dist/index.umd.css.map +1 -1
- package/dist/index.umd.js +239 -199
- package/dist/index.umd.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ import { Button, Card, Input, Accordion } from '@designbasekorea/ui';
|
|
|
44
44
|
function App() {
|
|
45
45
|
return (
|
|
46
46
|
<div>
|
|
47
|
-
<Button variant="primary" size="
|
|
47
|
+
<Button variant="primary" size="l">
|
|
48
48
|
클릭하세요
|
|
49
49
|
</Button>
|
|
50
50
|
|
|
@@ -173,15 +173,15 @@ export default App;
|
|
|
173
173
|
```tsx
|
|
174
174
|
import { Button } from '@designbasekorea/ui';
|
|
175
175
|
|
|
176
|
-
<Button variant="primary" size="
|
|
176
|
+
<Button variant="primary" size="l" onClick={() => console.log('클릭!')}>
|
|
177
177
|
Primary 버튼
|
|
178
178
|
</Button>
|
|
179
179
|
|
|
180
|
-
<Button variant="secondary" size="
|
|
180
|
+
<Button variant="secondary" size="m" disabled>
|
|
181
181
|
비활성 버튼
|
|
182
182
|
</Button>
|
|
183
183
|
|
|
184
|
-
<Button variant="outline" size="
|
|
184
|
+
<Button variant="outline" size="s" fullWidth>
|
|
185
185
|
전체 너비 버튼
|
|
186
186
|
</Button>
|
|
187
187
|
```
|