joe-bell / cva

Class Variance Authority
https://cva.style
Apache License 2.0
5.46k stars 107 forks source link

Export config type, for use when extending CVA #277

Closed ryanprescott closed 2 months ago

ryanprescott commented 3 months ago

Description

Export Config type, so that if someone is extending CVA they can use the return type of the function without trying to derive it from the function itself

Additional context


What is the purpose of this pull request?

Before submitting the PR, please make sure you do the following

vercel[bot] commented 3 months ago

@ryanprescott is attempting to deploy a commit to the cva Team on Vercel.

A member of the Team first needs to authorize it.

joe-bell commented 2 months ago

Appreciate the PR, but I don't think this is aligns with the project goals and it shouldn't behave as expected: cva should be the single source of truth, much like say zod