Skip to content

Commit

Permalink
Merge pull request #46 from unaisdev/patch-1
Browse files Browse the repository at this point in the history
Updated example from variants.mdx
  • Loading branch information
jpudysz authored Oct 23, 2023
2 parents 1311192 + b621a33 commit ce6c88d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/content/docs/example/variants.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ export const BaseText: React.FunctionComponent<BaseTextProps> = ({
<Text
style={{
...styles.baseText,
...bold
? styles.baseText
: {},
...(bold
? styles.bold
: {}),
// pass other styles via props
...style
}}
Expand Down

0 comments on commit ce6c88d

Please sign in to comment.