typing are still not matching for props in PushButton
Opened this issue · 0 comments
acidjazz commented
(property) 'push-button': DefineComponent<{
state: PushButtonState;
size: PushButtonSize;
theme: PushButtonThemeName;
customTheme: PushButtonTheme;
}, ... 10 more ..., {}>
Type '{ state: PushButtonState; customTheme: PushButtonTheme; "custom-theme": PushButtonTheme; }' is not assignable to type 'IntrinsicAttributes & Partial<{}> & Omit<Readonly<{ state: PushButtonState; size: PushButtonSize; theme: PushButtonThemeName; customTheme: PushButtonTheme; }> & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>'.
Type '{ state: PushButtonState; customTheme: PushButtonTheme; "custom-theme": PushButtonTheme; }' is missing the following properties from type 'Omit<Readonly<{ state: PushButtonState; size: PushButtonSize; theme: PushButtonThemeName;