UNPKG

grepsr-ui-elements

Version:

35 lines (34 loc) 1.14 kB
import PropTypes from "prop-types"; import * as React from "react"; interface GrepsrScheduleTimelineProps { steps: Array<string>[]; label: React.ReactElement | string; title: string; color?: "inherit" | "primary" | "success" | "error" | "info" | "warning"; [restProps: string]: any; titleFontSize?: number; titleFontWeight?: string; iconButtonSize?: "small" | "medium" | "large"; variant?: "outlined" | "contained" | "text"; } export { GrepsrScheduleTimelineProps }; declare const GrepsrScheduleTimeline: { (props: GrepsrScheduleTimelineProps): JSX.Element; defaultProps: { label: string; title: string; titleFontWeight: string; titleFontSize: number; iconButtonSize: string; steps: never[]; }; propTypes: { label: PropTypes.Validator<string>; title: PropTypes.Validator<string>; color: PropTypes.Requireable<string>; variant: PropTypes.Requireable<string>; steps: PropTypes.Validator<any[]>; iconButtonSize: PropTypes.Requireable<string>; }; }; export default GrepsrScheduleTimeline;