Skip to content

Commit 51efccb

Browse files
authored
Update the documentation for accessibilityIncrements (#441)
1 parent 7afcaeb commit 51efccb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package/typings/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ export interface SliderProps
145145
accessibilityUnits?: string;
146146

147147
/**
148-
* A string of one or more words to be announced by the screen reader.
149-
* Otherwise, it will announce the value as a percentage.
150-
* Requires passing a value to `accessibilityIncrements` to work correctly.
151-
* Should be a plural word, as singular units will be handled.
148+
* An array of values that represent the different increments displayed
149+
* by the slider. All the values passed into this prop must be strings.
150+
* Requires passing a value to `accessibilityUnits` to work correctly.
151+
* The number of elements must be the same as `maximumValue`.
152152
*/
153153
accessibilityIncrements?: Array<string>;
154154

0 commit comments

Comments
 (0)