@useloops/design-system
Version:
The official React based Loops design system
16 lines (13 loc) • 485 B
TypeScript
import { BoxProps } from '@mui/material';
import { FunctionComponent, PropsWithChildren } from 'react';
import { QuestionType } from '../utils/mapQuestionTypeToLabel.js';
interface QuestionLabelProps extends PropsWithChildren {
type?: QuestionType;
loading?: boolean;
slotProps?: {
container?: Partial<BoxProps>;
};
}
declare const QuestionLabel: FunctionComponent<QuestionLabelProps>;
export { QuestionLabel as default };
export type { QuestionLabelProps };