TypographyControls API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
TypographyControls4 props1 callbacks0 methods
Props4
| Name | Type | Description |
|---|---|---|
valueRequired |
| Value to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted. |
fontsOptional |
| Font-family choices offered by the typography controls. |
labelsRequired |
| Localized text labels for the controls in this composition. |
iconsRequired |
| Trusted SVG markup for the typography action icons. |
Events and callbacks1
| Name | Type | Description |
|---|---|---|
onChangeRequired |
| Receives the new value when the user changes the control. Update the corresponding value prop for controlled use. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.