Skip to content

Commit 2a61143

Browse files
committed
Export VariantGroups and PatternOptions types
1 parent 1dbd56c commit 2a61143

File tree

3 files changed

+3767
-5173
lines changed

3 files changed

+3767
-5173
lines changed

.changeset/plenty-teachers-learn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@vanilla-extract/recipes': patch
3+
---
4+
5+
Export VariantGroups and PatternOptions types

packages/recipes/src/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ import type {
1111
} from './types';
1212
import { mapValues } from './utils';
1313

14-
export type { RecipeVariants, RuntimeFn } from './types';
14+
export type {
15+
RecipeVariants,
16+
RuntimeFn,
17+
VariantGroups,
18+
PatternOptions,
19+
} from './types';
1520

1621
export function recipe<Variants extends VariantGroups>(
1722
options: PatternOptions<Variants>,

0 commit comments

Comments
 (0)