mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Make onSelected non-optional
This commit is contained in:
parent
a41a7faa75
commit
824f262ac9
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user