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 429bae7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
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

0 comments on commit 429bae7

Please sign in to comment.