import {designComponent, getComponentCls, useStyles} from "@peryl/react-compose"; import './empty.scss'; import i18n from "../i18n"; export const Empty = designComponent({ name: 'empty', props: { height: { type: String, default: '36px' }, width: { type: String, default: '36px' }, label: { type: String }, noMatch: { type: Boolean }, noData: { type: Boolean }, }, slots: ['default'], setup({ props, slots }) { const styles = useStyles(() => ({ height: props.height, width: props.width, })); return () => (