XButton UI display (experimental status).
<XButton scale={0.5} /><XButton scale={0.5} />
Basic usage of XButton component.
| Properties | Description | Type | Default |
|---|---|---|---|
| scale | the scale number, optional | number | 1 |
| callback | the callback function, optional | () => void | - |
| delay | The delay to trigger callback, unit ms | number | 2000 |