Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-bell committed Jan 25, 2025
1 parent d79db1f commit 68e8af1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/cva/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,11 @@ export const defineConfig: DefineConfig = (options) => {
};

const cva: CVA = (config) => {
// TODO: fix types
// @ts-expect-error
const component = (props) => {
const component = (
// TODO: fix types
// @ts-expect-error
props,
) => {
if (config?.variants == null) {
return clsx(config?.base, props?.class, props?.className);
}
Expand Down

0 comments on commit 68e8af1

Please sign in to comment.