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

Commit

Permalink
fix: create components typings
Browse files Browse the repository at this point in the history
  • Loading branch information
ankit-tailor committed Sep 25, 2023
1 parent a2db391 commit 5c2ca87
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/react/src/createComponents.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { resolveComponentThemes } from './createConfig';
import type { CreateComponents } from './types';

export const createComponents = <T>(
components: CreateComponents<T>
): CreateComponents<T> => {
export const createComponents = <T>(components: T): T => {
return resolveComponentThemes({}, components);
};

0 comments on commit 5c2ca87

Please sign in to comment.