mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Fixes in Shortcuts dialog and minor refactor (#1297)
This commit is contained in:
parent
e4c154f43e
commit
0c3d34261e
11 changed files with 96 additions and 82 deletions
|
@ -8,6 +8,7 @@ type ToolButtonBaseProps = {
|
|||
icon?: React.ReactNode;
|
||||
"aria-label": string;
|
||||
"aria-keyshortcuts"?: string;
|
||||
"data-testid"?: string;
|
||||
label?: string;
|
||||
title?: string;
|
||||
name?: string;
|
||||
|
@ -78,6 +79,7 @@ export const ToolButton = React.forwardRef(function (
|
|||
name={props.name}
|
||||
aria-label={props["aria-label"]}
|
||||
aria-keyshortcuts={props["aria-keyshortcuts"]}
|
||||
data-testid={props["data-testid"]}
|
||||
id={props.id}
|
||||
onChange={props.onChange}
|
||||
checked={props.checked}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue