mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 06:28:27 +00:00
Make onSelected non-optional
This commit is contained in:
@@ -329,7 +329,7 @@ export interface SpacePanelItemProps {
|
||||
className?: string;
|
||||
icon?: JSX.Element;
|
||||
label: string;
|
||||
onSelected?(): void;
|
||||
onSelected: () => void;
|
||||
style?: React.CSSProperties;
|
||||
tooltip?: string;
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ export interface SpacePanelItemProps {
|
||||
/**
|
||||
* Callback when the item is selected
|
||||
*/
|
||||
onSelected?(): void;
|
||||
onSelected: () => void;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user