/// export interface SparkSpinnerProps { /** * @description indicator下方的tip * @descriptionEn tip below indicator * @default - */ tip?: React.ReactNode; /** * @description 自定义indicator,用于展示progress的百分比和加载文案 * @descriptionEn custom indicator, used to show the percentage of progress and loading text * @default - */ indicator?: React.ReactNode; /** * @description 被spinner包裹的子元素 * @descriptionEn children wrapped by spinner * @default - */ children?: React.ReactNode; /** * @description spinner最外层的样式 * @descriptionEn style of spinner wrapper * @default - */ style?: React.CSSProperties; /** * @description spinner的类名 * @descriptionEn class name of spinner * @default - */ className?: string; /** * @description 进度条的百分比 * @descriptionEn percent of progress bar * @default - */ percent?: number; /** * @description 是否为加载中状态 * @descriptionEn loading state * @default false */ spinning?: boolean; /** * @description 是否显示进度条,如果为true,不需要手动在children中添加Progress组件 * @descriptionEn show progress bar, if true, you don't need to manually add Progress component in children * @default false */ showProgress?: boolean; } declare const _default: (props: SparkSpinnerProps) => import("react/jsx-runtime").JSX.Element; export default _default;