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

Commit

Permalink
fix: plugin type
Browse files Browse the repository at this point in the history
  • Loading branch information
ankit-tailor committed Sep 18, 2023
1 parent ae4ae24 commit d7fb788
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/createStyled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ export class IStyled {
}

export const createStyled = (plugins: any) => {
let styledComponent = <P, Variants, ConCom, PluginType>(
let styledComponent = <P, Variants, ConCom>(
Component: React.ComponentType<P>,
styledObject: ITheme<Variants, P, PluginType>,
styledObject: ITheme<Variants, P>,
compConfig: IComponentStyleConfig<ConCom> = {},
extendedConfig: any = {}
) => {
Expand Down
3 changes: 2 additions & 1 deletion packages/react/src/hooks/useToken.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useStyled, ICustomConfig } from '@gluestack-style/react';
import { useStyled } from '../StyledProvider';
import type { ICustomConfig } from '../types';

/**
*
Expand Down

0 comments on commit d7fb788

Please sign in to comment.