Skip to content

Commit

Permalink
docs(beta): tweak examples to use single strings
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-bell committed Jan 18, 2025
1 parent c577089 commit 7498630
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions docs/beta/src/content/docs/getting-started/polymorphism.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,8 @@ const button = cva({
base: "button",
variants: {
intent: {
primary: [
"bg-blue-500",
"text-white",
"border-transparent",
"hover:bg-blue-600",
],
secondary: [
"bg-white",
"text-gray-800",
"border-gray-400",
"hover:bg-gray-100",
],
primary: "bg-blue-500 text-white border-transparent hover:bg-blue-600",
secondary: "bg-white text-gray-800 border-gray-400 hover:bg-gray-100",
},
},
defaultVariants: {
Expand Down

0 comments on commit 7498630

Please # to comment.