chore(a11y): add controls to LabelConfig
This commit is contained in:
@@ -44,6 +44,12 @@ export const defaultLabelConfig = {
|
||||
'Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.',
|
||||
'a11yDescription.edge.default':
|
||||
'Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.',
|
||||
|
||||
// Control elements
|
||||
'controls.zoomin.title': 'Zoom In',
|
||||
'controls.zoomout.title': 'Zoom Out',
|
||||
'controls.fitview.title': 'Fit View',
|
||||
'controls.interactive.title': 'Toggle Interactivity',
|
||||
};
|
||||
|
||||
export type LabelConfig = Partial<typeof defaultLabelConfig>;
|
||||
|
||||
Reference in New Issue
Block a user