Skip to content

Commit 3d492d1

Browse files
committed
added button outline example
1 parent 1b4fcb1 commit 3d492d1

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

config/components.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ export const componentConfig = {
6363
filePath: "preview/components/button-style-default.tsx",
6464
preview: lazy(() => import("@/preview/components/button-style-default")),
6565
},
66+
"button-style-outline": {
67+
name: "button-style-default",
68+
filePath: "preview/components/button-style-outline.tsx",
69+
preview: lazy(() => import("@/preview/components/button-style-outline")),
70+
},
6671
"card-style-default": {
6772
name: "card-style-default",
6873
filePath: "preview/components/card-style-default.tsx",

content/docs/components/button.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,9 @@ npm install class-variance-authority
2929
### Default
3030

3131
<ComponentShowcase name="button-style-default" />
32+
<br />
33+
<br />
34+
35+
### Outline
36+
37+
<ComponentShowcase name="button-style-outline" />
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { Button } from "@/packages/ui";
2+
3+
export default function ButtonStyleOutline() {
4+
return <Button variant="outline">Click Me!</Button>;
5+
}

0 commit comments

Comments
 (0)