import React from 'react'; import { BoxProps } from '@cuvp1225/foundation'; export interface PlaceholderProps extends BoxProps { /** * 尺寸 * small - 适合文本,按钮等小型控件 * medium - 中型控件 * large - 大型控件 * auto - 自适应父容器大小 */ size?: 'small' | 'medium' | 'large' | 'auto'; /** * 占位文本 */ placeholder?: string; /** * 按钮文本 */ buttonText?: string; /** * 要实例化的组件名称 */ targetComponentName?: string; } export declare const Placeholder: (props: { [key: string]: any; children?: React.ReactNode; }) => React.JSX.Element; export declare const PlaceholderNew: (props: { [key: string]: any; children?: React.ReactNode; }) => React.JSX.Element;