import React from 'react' import classnames from 'classnames' import { buildHtmlProps } from '../../utilities/props' import { globalProps, GlobalProps } from "../../utilities/globalProps" import IconCircle from '../../pb_icon_circle/_icon_circle' type TimelineStepProps = { icon?: string, iconColor?: 'default' | 'royal' | 'blue' | 'purple' | 'teal' | 'red' | 'yellow' | 'green', children?: React.ReactNode, className?: string, htmlOptions?: { [key: string]: any }, } & GlobalProps const TimelineStep: React.FC = ({ icon = 'user', iconColor = 'default', children, className, htmlOptions = {}, ...props }) => { const htmlProps = buildHtmlProps(htmlOptions) return (
{children ? ( children ) : ( )}
) } export default TimelineStep