Skip to content

Commit

Permalink
fix(clerk-js): Temporarily adding any to the emotion css prop
Browse files Browse the repository at this point in the history
Otherwise, DTS files will fail to be built using the fix(clerk-js): Introduce and use `~ui` alias

In order to be able to switch between /ui and /ui.retheme simply by changing the active tsconfig file.declarations.retheme.json file when `paths` is used. We will revert this change once the components are ready.
  • Loading branch information
nikosdouvlis committed Nov 15, 2023
1 parent 026218e commit 3007ebf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/clerk-js/src/ui.retheme/primitives/Flex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const Flex = React.forwardRef<HTMLDivElement, FlexProps>((props, ref) =>
export const Col = React.forwardRef<HTMLDivElement, FlexProps>((props, ref) => {
return (
<Flex
{...props}
{...(props as any)}
direction='col'
ref={ref}
/>
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/src/ui.retheme/primitives/Tbody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const Tbody = React.forwardRef<HTMLTableSectionElement, TbodyProps>((prop
return (
<Box
as='tbody'
{...props}
{...(props as any)}
ref={ref}
/>
);
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/src/ui.retheme/primitives/Thead.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const Thead = React.forwardRef<HTMLTableSectionElement, TheadProps>((prop
return (
<Box
as='thead'
{...props}
{...(props as any)}
ref={ref}
/>
);
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/src/ui.retheme/primitives/Tr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const Tr = React.forwardRef<HTMLTableCellElement, TrProps>((props, ref) =
return (
<Box
as='tr'
{...props}
{...(props as any)}
ref={ref}
/>
);
Expand Down

0 comments on commit 3007ebf

Please sign in to comment.