From 6aa583ccfe8e84367fa2f3d5381c77e9e28eb6ff Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Thu, 20 Feb 2025 17:58:17 -0500 Subject: [PATCH] add poll icon --- components/Blocks/BlockCommands.tsx | 3 ++- components/Icons.tsx | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) 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 (