import React from 'react'; import { backgroundColor, BackgroundColorProps } from 'styled-system'; import { Base } from './Base'; const sizes = { small: { height: 4, }, medium: { height: 8, }, large: { height: 16, }, }; export type ProgressBarProps = { size?: keyof typeof sizes; }; export const ProgressBar = ({ size = 'medium', ...props }: ProgressBarProps) => { return ( ); }; export type ProgressBarItemProps = BackgroundColorProps & { percentage: number; }; ProgressBar.Item = ({ percentage, ...props }: ProgressBarItemProps) => { return ( ); };