Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #446 from gluestack/patch
Browse files Browse the repository at this point in the history
fix: extend component typing
  • Loading branch information
surajahmed authored Sep 18, 2023
2 parents 74cfecf + 2c0c7c2 commit 5bb82fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/react/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ export type GlobalVariantSx<Aliases, Tokens, Variants, PLATFORM = ''> = Partial<
RNStyledProps &
GlobalVariantAliasesProps<Aliases, Tokens> & {
[k in keyof Variants]?: keyof Variants[k];
};
} & {
as?: any;
} & Partial<{ [Key: string]: any }>;
} & {
[Key in `_${COLORMODES}`]?: GlobalVariantSx<
Aliases,
Expand Down

0 comments on commit 5bb82fd

Please sign in to comment.