-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
Hello,
I get a type error when I use the size attribute with the RtkClock component: <RtkClock size="sm" />. The style is properly applied, so it seems it's just a type issue.
Here is the detailed error message:
Type error: Type '{ size: string; }' is not assignable to type 'IntrinsicAttributes & RtkClock & Omit<HTMLAttributes<HTMLRtkClockElement>, "style"> & StyleReactProps & RefAttributes<...>'.
Property 'size' does not exist on type 'IntrinsicAttributes & RtkClock & Omit<HTMLAttributes<HTMLRtkClockElement>, "style"> & StyleReactProps & RefAttributes<...>'.
64 | <header className='flex items-center justify-end gap-2'>
65 | <RtkParticipantCount size='sm' />
> 66 | <RtkClock size='sm' />
| ^
67 | </header>
I'll have a PR ready with a fix shortly.