diff --git a/lib/svg-composition-context.tsx b/lib/svg-composition-context.tsx index 03e703e..46a7fa7 100644 --- a/lib/svg-composition-context.tsx +++ b/lib/svg-composition-context.tsx @@ -34,8 +34,26 @@ export function CompositionContextWidget({ onChange, children, }: CompositionContextWidgetProps): JSX.Element { + const resetColors = () => { + const { background, stroke, fill } = DEFAULT_CONTEXT; + onChange({ ...ctx, background, stroke, fill }); + }; + const extraButtons = ( + <> + {" "} + + ); return ( - + {children}