bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/whiteboard/custom-shapes/poll/poll-shape-props.ts
KDSBrowne 3bfdeb9cfd
feat(whiteboard): Reuse poll result diagram as a whiteboard shape (#20350)
* create poll shape to render chat poll component
2024-06-10 17:12:40 -04:00

18 lines
438 B
TypeScript

import { DefaultColorStyle, ShapeProps, T } from '@bigbluebutton/tldraw';
import { IPollShape } from './poll-shape-types';
export const pollShapeProps: ShapeProps<IPollShape> = {
w: T.number,
h: T.number,
color: DefaultColorStyle,
fill: T.string,
question: T.string,
numRespondents: T.number,
numResponders: T.number,
questionText: T.string,
questionType: T.string,
answers: T.any,
};
export default pollShapeProps;