mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-12-22 06:01:18 +01:00
frontend: updating addNotification type hints
This commit is contained in:
@@ -10,7 +10,7 @@ interface ButtonComponentProps {
|
||||
readOnly: boolean;
|
||||
docString: string;
|
||||
mapping?: [string, string]; // Enforce a tuple of two strings
|
||||
addNotification: (string) => void;
|
||||
addNotification: (message: string) => void;
|
||||
}
|
||||
|
||||
export const ButtonComponent = React.memo((props: ButtonComponentProps) => {
|
||||
|
||||
Reference in New Issue
Block a user