MapNamesFn()
ts
type MapNamesFn = (value) => string;Defined in: types.ts:28
Function type for mapping the kebab-case version of the component and icon names to a custom name. The function takes a string value (the kebab-case version of the name) and returns a string value (the custom name).
Parameters
| Parameter | Type |
|---|---|
value | string |
Returns
string
Since
2.0.0
Author
Simon Kovtyk