Skip to content

Commit

Permalink
Export VariantGroups and PatternOptions types
Browse files Browse the repository at this point in the history
  • Loading branch information
HorusGoul committed Oct 26, 2023
1 parent 1dbd56c commit 2a61143
Show file tree
Hide file tree
Showing 3 changed files with 3,767 additions and 5,173 deletions.
5 changes: 5 additions & 0 deletions .changeset/plenty-teachers-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@vanilla-extract/recipes': patch
---

Export VariantGroups and PatternOptions types
7 changes: 6 additions & 1 deletion packages/recipes/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ import type {
} from './types';
import { mapValues } from './utils';

export type { RecipeVariants, RuntimeFn } from './types';
export type {
RecipeVariants,
RuntimeFn,
VariantGroups,
PatternOptions,
} from './types';

export function recipe<Variants extends VariantGroups>(
options: PatternOptions<Variants>,
Expand Down
Loading

0 comments on commit 2a61143

Please sign in to comment.