Make onSelected non-optional

This commit is contained in:
David Baker 2025-10-20 17:44:15 +01:00
parent a41a7faa75
commit 824f262ac9
2 changed files with 2 additions and 2 deletions

View File

@ -329,7 +329,7 @@ export interface SpacePanelItemProps {
className?: string;
icon?: JSX.Element;
label: string;
onSelected?(): void;
onSelected: () => void;
style?: React.CSSProperties;
tooltip?: string;
}

View File

@ -40,7 +40,7 @@ export interface SpacePanelItemProps {
/**
* Callback when the item is selected
*/
onSelected?(): void;
onSelected: () => void;
}
/**