mirror of
https://github.com/zhigang1992/react-native-paper.git
synced 2026-06-11 08:13:29 +08:00
docs: fix description for accessibility label
This commit is contained in:
@@ -19,7 +19,7 @@ type Props = {
|
||||
* Optional icon size.
|
||||
*/
|
||||
size?: number,
|
||||
/*
|
||||
/**
|
||||
* Accessibility label for the button. This is read by the screen reader when the user taps the button.
|
||||
*/
|
||||
accessibilityLabel?: string,
|
||||
|
||||
@@ -10,7 +10,7 @@ type Props = {
|
||||
* Custom color for back icon.
|
||||
*/
|
||||
color?: string,
|
||||
/*
|
||||
/**
|
||||
* Accessibility label for the button. This is read by the screen reader when the user taps the button.
|
||||
*/
|
||||
accessibilityLabel?: string,
|
||||
|
||||
@@ -50,7 +50,7 @@ type Props = {
|
||||
* Label text of the button.
|
||||
*/
|
||||
children: React.Node,
|
||||
/*
|
||||
/**
|
||||
* Accessibility label for the button. This is read by the screen reader when the user taps the button.
|
||||
*/
|
||||
accessibilityLabel?: string,
|
||||
|
||||
@@ -47,7 +47,7 @@ type Props = {
|
||||
* Whether the chip is disabled. A disabled chip is greyed out and `onPress` is not called on touch.
|
||||
*/
|
||||
disabled?: boolean,
|
||||
/*
|
||||
/**
|
||||
* Accessibility label for the chip. This is read by the screen reader when the user taps the chip.
|
||||
*/
|
||||
accessibilityLabel?: string,
|
||||
|
||||
@@ -24,7 +24,7 @@ type Props = {
|
||||
* Optional label for extended `FAB`.
|
||||
*/
|
||||
label?: string,
|
||||
/*
|
||||
/**
|
||||
* Accessibility label for the FAB. This is read by the screen reader when the user taps the FAB.
|
||||
* Uses `label` by default if specified.
|
||||
*/
|
||||
|
||||
@@ -40,7 +40,7 @@ type Props = {
|
||||
* You can toggle it based on whether the speed dial is open to display a different icon.
|
||||
*/
|
||||
icon: IconSource,
|
||||
/*
|
||||
/**
|
||||
* Accessibility label for the FAB. This is read by the screen reader when the user taps the FAB.
|
||||
*/
|
||||
accessibilityLabel?: string,
|
||||
|
||||
@@ -27,7 +27,7 @@ type Props = {
|
||||
* Whether the button is disabled. A disabled button is greyed out and `onPress` is not called on touch.
|
||||
*/
|
||||
disabled?: boolean,
|
||||
/*
|
||||
/**
|
||||
* Accessibility label for the button. This is read by the screen reader when the user taps the button.
|
||||
*/
|
||||
accessibilityLabel?: string,
|
||||
|
||||
Reference in New Issue
Block a user