@forter/empty
v1.1.0
Published
empty from Forter Components
Downloads
25
Readme
fc-empty
An element to present the user message when there is nothing to show :)
Usage
<script>
import '@forter/empty';
</script>
<fc-empty>
</fc-empty>
Properties
| Property | Attribute | Type | Description |
|---------------|---------------|--------------------------------------------------|--------------------------------------------------|
| description
| description
| string
| The element text for no data senario, example: No Orders!
|
| intent
| intent
| "apply" \| "warn" \| "success" \| "danger" \| "cancel" \| "primary" \| "secondary"
| intent color to emphasize the type of alert |
CSS Custom Properties
| Property | Description |
|-----------------------------|---------------------------------|
| --fc-empty-color
| color. |
| --fc-empty-disabled-color
| disabled color. example: gray
|