Skip to content

Commit

Permalink
Add comment for center prop
Browse files Browse the repository at this point in the history
  • Loading branch information
narin committed Dec 13, 2024
1 parent 270ab94 commit 0b1e806
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/components/Text/Text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ type DisplayProps = {
}

export type TextProps = {
/** True to set textAlign: center */
center?: boolean
children: React.ReactNode
/** AccessibilityLabel for the text */
Expand Down

0 comments on commit 0b1e806

Please sign in to comment.