18 lines
438 B
TypeScript
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;
|