docs: fix description for accessibility label

This commit is contained in:
Satyajit Sahoo
2018-06-28 15:00:45 +02:00
parent 1795dc2553
commit db4befec6b
7 changed files with 7 additions and 7 deletions

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,

View File

@@ -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.
*/

View File

@@ -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,

View File

@@ -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,