Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "export missing type from framework to fix build error in Popover",
"packageName": "@fluentui-react-native/framework",
"email": "[email protected]",
"dependentChangeType": "patch"
}
2 changes: 1 addition & 1 deletion packages/framework/framework/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ export type { HasLayer, TokensThatAreAlsoProps, UseStyling } from './useStyling'
export { buildProps, buildUseStyling } from './useStyling';
export type { BuildProps, TokenSettings, TokensFromTheme, UseStylingOptions } from './useStyling';
export { applyPropsToTokens, applyTokenLayers, buildUseTokens, customizable, patchTokens } from './useTokens';
export type { UseTokens } from './useTokens';
export type { UseTokens, CustomizableComponent } from './useTokens';
1 change: 1 addition & 0 deletions packages/framework/framework/src/useTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export { applyTokenLayers, applyPropsToTokens, customizable, patchTokens } from

// A hook function to build a set of tokens from a passed in theme as well as a cache object
export type UseTokens<TTokens> = UseTokensCore<TTokens, Theme>;
export type { CustomizableComponent } from '@fluentui-react-native/use-tokens';

export function buildUseTokens<TTokens>(...tokens: TokenSettings<TTokens>[]): UseTokens<TTokens> {
return buildUseTokensCore(themeHelper.getComponentInfo, ...tokens);
Expand Down