bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/whiteboard/custom-shapes/poll/poll-shape-props.ts

18 lines
438 B
TypeScript
Raw Normal View History

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;