UNPKG

@douyinfe/semi-ui

Version:

A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.

38 lines (37 loc) 1.3 kB
import React from 'react'; import PropTypes from 'prop-types'; export type Status = 'wait' | 'process' | 'finish' | 'error' | 'warning'; export interface FillStepProps { description?: React.ReactNode; icon?: React.ReactNode; status?: Status; title?: React.ReactNode; className?: string; style?: React.CSSProperties; prefixCls?: string; stepNumber?: string; onChange?: () => void; onClick?: React.MouseEventHandler<HTMLDivElement>; onKeyDown?: React.KeyboardEventHandler<HTMLDivElement>; "role"?: React.AriaRole; "aria-label"?: React.AriaAttributes["aria-label"]; } declare const FillStep: { (props: FillStepProps): React.JSX.Element; propTypes: { prefixCls: PropTypes.Requireable<string>; description: PropTypes.Requireable<PropTypes.ReactNodeLike>; icon: PropTypes.Requireable<PropTypes.ReactNodeLike>; status: PropTypes.Requireable<string>; title: PropTypes.Requireable<PropTypes.ReactNodeLike>; className: PropTypes.Requireable<string>; style: PropTypes.Requireable<object>; onClick: PropTypes.Requireable<(...args: any[]) => any>; }; defaultProps: { prefixCls: string; status: string; className: string; }; }; export default FillStep;