getLabelText

abstract var getLabelText: (value: Number) -> String?(source)

Accepts a function which returns a string value that provides a user-friendly name for the current value of the rating. This is important for screen reader users.

For localization purposes, you can use the provided /material-ui/guides/localization/.

Parameters

{number} value The rating label's value to format.