Methods
useId(defaultId) → {string}
Generates a unique ID if default ID is not provided.
Parameters:
Name | Type | Description |
---|---|---|
defaultId | string | The default ID. |
- Since
- 3.2.2
- Source
Returns:
The ID.
- Type:
- string