Skip to content

Commit

Permalink
Update Remix, styling, and other minor packages (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
brookslybrand authored Jan 17, 2024
1 parent 01e746a commit d30afc2
Show file tree
Hide file tree
Showing 4 changed files with 416 additions and 653 deletions.
5 changes: 2 additions & 3 deletions app/ui/primitives/polymorphic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ type OwnProps<E> = E extends ForwardRefComponent<any, infer P> ? P : {};
/**
* Infers the JSX.IntrinsicElement if E is a ForwardRefExoticComponentWithAs
*/
type IntrinsicElement<E> = E extends ForwardRefComponent<infer I, any>
? I
: never;
type IntrinsicElement<E> =
E extends ForwardRefComponent<infer I, any> ? I : never;

type ForwardRefExoticComponent<E, OwnProps> = React.ForwardRefExoticComponent<
PropsWithAs<E, OwnProps>
Expand Down
Loading

0 comments on commit d30afc2

Please sign in to comment.