fix: open attribute drawer on feature select and pass selected feature #2621
Annotations
4 errors
build:
src/components/ToolMenu/Draw/index.tsx#L101
Property 'onFeatureSelect' does not exist on type 'ModifyButtonProps'.
|
build:
src/components/ToolMenu/Draw/index.tsx#L101
Parameter 'event' implicitly has an 'any' type.
|
build:
src/components/ToolMenu/Draw/index.tsx#L311
Type '{ children: Element[]; value: string; type: "link"; onFeatureSelect: any; }' is not assignable to type 'IntrinsicAttributes & OwnProps & Omit<UseModifyProps, "active" | "onFeatureSelect"> & Partial<ToggleButtonProps>'.
|
build
Process completed with exit code 2.
|