diff options
author | Eric Bailey <git@esb.lol> | 2024-07-25 18:34:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 18:34:21 -0500 |
commit | 43ba0f21f6796ebbdd0156c9fa89ebc7d56376e7 (patch) | |
tree | c4ef254ef49e541b724e87203591d141a81f2172 /src/components/Button.tsx | |
parent | 4437b9a55782ac4b213fb209f52378b839329c2a (diff) | |
download | voidsky-43ba0f21f6796ebbdd0156c9fa89ebc7d56376e7.tar.zst |
Make label required in link components (#4844)
Diffstat (limited to 'src/components/Button.tsx')
-rw-r--r-- | src/components/Button.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 457164d11..4fe0ab4b1 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -70,6 +70,9 @@ export type ButtonProps = Pick< AccessibilityProps & VariantProps & { testID?: string + /** + * For a11y, try to make this descriptive and clear + */ label: string style?: StyleProp<ViewStyle> hoverStyle?: StyleProp<ViewStyle> |