@@ -9,7 +9,7 @@ import { cn } from "@/lib/utils"
99import { Tooltip , TooltipContent , TooltipProvider , TooltipTrigger } from "./ui/tooltip" ;
1010import { Button } from "./ui/button"
1111import { PaletteFilled } from "./SvgIcons"
12- import { BgFill , StrokeEdge , StrokeFill , StrokeStyle , StrokeWidth , ToolType } from "@/types/canvas"
12+ import { BgFill , FillStyle , FontFamily , FontSize , RoughStyle , StrokeEdge , StrokeFill , StrokeStyle , StrokeWidth , TextAlign , ToolType } from "@/types/canvas"
1313import { UserRoomsListDialog } from "./UserRoomsListDialog"
1414import { RoomSharingDialog } from "./RoomSharingDialog"
1515import { BASE_URL } from "@/config/constants"
@@ -35,6 +35,16 @@ interface MobileCommandBarProps {
3535 setStrokeEdge : React . Dispatch < React . SetStateAction < StrokeEdge > > ;
3636 strokeStyle : StrokeStyle ;
3737 setStrokeStyle : React . Dispatch < React . SetStateAction < StrokeStyle > > ;
38+ roughStyle : RoughStyle ;
39+ setRoughStyle : React . Dispatch < React . SetStateAction < RoughStyle > > ;
40+ fillStyle : FillStyle ;
41+ setFillStyle : React . Dispatch < React . SetStateAction < FillStyle > > ;
42+ fontFamily : FontFamily ;
43+ setFontFamily : React . Dispatch < React . SetStateAction < FontFamily > > ;
44+ fontSize : FontSize ;
45+ setFontSize : React . Dispatch < React . SetStateAction < FontSize > > ;
46+ textAlign : TextAlign ;
47+ setTextAlign : React . Dispatch < React . SetStateAction < TextAlign > > ;
3848 roomName ?: string
3949 isStandalone ?: boolean ;
4050 onClearCanvas ?: ( ) => void ;
@@ -59,6 +69,16 @@ export function MobileCommandBar({ canvasColor,
5969 setStrokeEdge,
6070 strokeStyle,
6171 setStrokeStyle,
72+ roughStyle,
73+ setRoughStyle,
74+ fillStyle,
75+ setFillStyle,
76+ fontFamily,
77+ setFontFamily,
78+ fontSize,
79+ setFontSize,
80+ textAlign,
81+ setTextAlign,
6282 roomName,
6383 isStandalone,
6484 onClearCanvas,
@@ -126,6 +146,21 @@ export function MobileCommandBar({ canvasColor,
126146 setStrokeEdge = { setStrokeEdge }
127147 strokeStyle = { strokeStyle }
128148 setStrokeStyle = { setStrokeStyle }
149+
150+ roughStyle = { roughStyle }
151+ setRoughStyle = { setRoughStyle }
152+
153+ fillStyle = { fillStyle }
154+ setFillStyle = { setFillStyle }
155+
156+ fontFamily = { fontFamily }
157+ setFontFamily = { setFontFamily }
158+
159+ fontSize = { fontSize }
160+ setFontSize = { setFontSize }
161+
162+ textAlign = { textAlign }
163+ setTextAlign = { setTextAlign }
129164 />
130165 </ SheetContent >
131166 </ Sheet >
0 commit comments