diff --git a/src/components/Appbar/AppbarAction.js b/src/components/Appbar/AppbarAction.js index c44fef4..ae57950 100644 --- a/src/components/Appbar/AppbarAction.js +++ b/src/components/Appbar/AppbarAction.js @@ -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, diff --git a/src/components/Appbar/AppbarBackAction.js b/src/components/Appbar/AppbarBackAction.js index a9c0334..bbc9c6a 100644 --- a/src/components/Appbar/AppbarBackAction.js +++ b/src/components/Appbar/AppbarBackAction.js @@ -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, diff --git a/src/components/Button.js b/src/components/Button.js index c28ad25..562436f 100644 --- a/src/components/Button.js +++ b/src/components/Button.js @@ -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, diff --git a/src/components/Chip.js b/src/components/Chip.js index e4a8ed9..d3e305f 100644 --- a/src/components/Chip.js +++ b/src/components/Chip.js @@ -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, diff --git a/src/components/FAB/FAB.js b/src/components/FAB/FAB.js index a232194..6374c54 100644 --- a/src/components/FAB/FAB.js +++ b/src/components/FAB/FAB.js @@ -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. */ diff --git a/src/components/FAB/FABGroup.js b/src/components/FAB/FABGroup.js index 0b735b8..9ee8670 100644 --- a/src/components/FAB/FABGroup.js +++ b/src/components/FAB/FABGroup.js @@ -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, diff --git a/src/components/IconButton.js b/src/components/IconButton.js index b20f81d..5c7c8db 100644 --- a/src/components/IconButton.js +++ b/src/components/IconButton.js @@ -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,