mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: add missing type="button"
(#8030)
This commit is contained in:
parent
7d8b7fc14d
commit
ff0b4394b1
10 changed files with 20 additions and 2 deletions
|
@ -28,6 +28,7 @@ export const ButtonIconSelect = <T extends Object>(
|
|||
{props.options.map((option) =>
|
||||
props.type === "button" ? (
|
||||
<button
|
||||
type="button"
|
||||
key={option.text}
|
||||
onClick={(event) => props.onClick(option.value, event)}
|
||||
className={clsx({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue