diff --git a/components/Blocks/BlockCommands.tsx b/components/Blocks/BlockCommands.tsx index d8513005..4aae329d 100644 --- a/components/Blocks/BlockCommands.tsx +++ b/components/Blocks/BlockCommands.tsx @@ -14,6 +14,7 @@ import { BlockButtonSmall, BlockCalendarSmall, RSVPSmall, + BlockPollSmall, } from "components/Icons"; import { generateKeyBetween } from "fractional-indexing"; import { focusPage } from "components/Pages"; @@ -207,7 +208,7 @@ export const blockCommands: Command[] = [ }, { name: "Poll", - icon: , + icon: , type: "block", onSelect: async (rep, props) => { let entity = await createBlockWithType(rep, props, "poll"); diff --git a/components/Icons.tsx b/components/Icons.tsx index 4d1ef693..1fcdfe82 100644 --- a/components/Icons.tsx +++ b/components/Icons.tsx @@ -289,6 +289,26 @@ export const BlockMailboxSmall = (props: Props) => { ); }; +export const BlockPollSmall = (props: Props) => { + return ( + + + + ); +}; + export const CanvasWidenSmall = (props: Props) => { return (