import { Show } from 'solid-js'; import { defineWebComponent } from './define'; import { Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent } from '../components/empty'; interface Props extends Record { /** Title text. Attribute: `empty-title` (`title` is a global HTML attribute). */ emptyTitle?: string; /** Description text. */ description?: string; } /** * `` — an empty-state block. `empty-title`/`description` via * attributes; slot your own icon into `slot="media"` and actions into the * default slot (Route 2 slots). */ defineWebComponent('kc-empty', { emptyTitle: '', description: '', }, (props) => ( {props.emptyTitle} {props.description} ));