Skip to content

Commit

Permalink
feat: button
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark committed Nov 28, 2024
1 parent 826a034 commit aea992c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/engineering/content/design/components/button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { DisabledExample } from "./button.disabled"

## Icons

Icons can be added at the left via `prefix=` or right side via `suffix=`. Both accept a `ReactNode` and you are supposed to provide a lucide icon without additional styling.
Icons can be added anywhere as a child of the button. In most scenarios you should simply add a lucide icon without any extra styling. The button already takes care of styling svg elements.


<IconsExample/>
Expand Down

0 comments on commit aea992c

Please sign in to comment.