Closed phil123456 closed 2 years ago
Argument of type '{ autoHide: number; position: { horizontal: { position: "right"; distance: number; }; vertical: { position: "bottom"; distance: number; gap: number; }; }; }' is not assignable to parameter of type 'NotifierOptions'. Object literal may only specify known properties, and 'autoHide' does not exist in type 'NotifierOptions'.
(property) autoHide: number
The docs are actually correct, you forgot the behaviour
named object that autoHide
is part of.
Your correct options object would be:
{
+ behaviour: {
autoHide: number;
+ };
position: {
horizontal: {
position: 'right';
distance: number;
}
vertical: {
position: 'bottom';
distance: number;
gap: number;
}
}
}
Closing. Please re-open or create a new issue if you experience other issues :)
dude update your doc please