UNPKG

@useloops/design-system

Version:

The official React based Loops design system

21 lines (18 loc) 597 B
import { BoxProps } from '@mui/material'; import { FunctionComponent, PropsWithChildren } from 'react'; import { QuestionType } from '../utils/mapQuestionTypeToLabel.js'; interface QuestionLabelProps { text: string; id: string; } interface QuestionBarProps extends PropsWithChildren { type?: QuestionType; loading?: boolean; slotProps?: { container?: Partial<BoxProps>; }; labels?: QuestionLabelProps[]; } declare const QuestionBar: FunctionComponent<QuestionBarProps>; export { QuestionBar as default }; export type { QuestionBarProps, QuestionLabelProps };