Skip to content

Commit

Permalink
update createStyledComponent typings
Browse files Browse the repository at this point in the history
  • Loading branch information
heyjul3s committed Nov 9, 2020
1 parent 0acaed3 commit e9b63e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/component-generator/src/createStyledComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { BaseComponentProps } from './typings';

export function createStyledComponent<CP>(
baseStyles: CSSObject = {},
variants: VariantArgs<object, string, string> = {},
variants: VariantArgs<Record<string, unknown>, string, string> = {},
systemStyleProps: styleFn[] = [],
element: keyof JSX.IntrinsicElements = 'div'
): AnyStyledComponent {
Expand Down

0 comments on commit e9b63e8

Please sign in to comment.