Make label required in link components (#4844)

This commit is contained in:
Eric Bailey
2024-07-25 18:34:21 -05:00
committed by GitHub
parent 4437b9a557
commit 43ba0f21f6
2 changed files with 7 additions and 9 deletions
+3
View File
@@ -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>