diff --git a/change/@fluentui-react-components-021b74de-76f6-4603-9855-fe12750eaf2e.json b/change/@fluentui-react-components-021b74de-76f6-4603-9855-fe12750eaf2e.json new file mode 100644 index 00000000000000..cc3ab9b27b2ba7 --- /dev/null +++ b/change/@fluentui-react-components-021b74de-76f6-4603-9855-fe12750eaf2e.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "chore: export SlotRenderFunction type", + "packageName": "@fluentui/react-components", + "email": "seanmonahan@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/packages/react-components/react-components/etc/react-components.api.md b/packages/react-components/react-components/etc/react-components.api.md index d355ef23841d42..fe452adeb4ae80 100644 --- a/packages/react-components/react-components/etc/react-components.api.md +++ b/packages/react-components/react-components/etc/react-components.api.md @@ -483,6 +483,7 @@ import { SliderState } from '@fluentui/react-slider'; import { Slot } from '@fluentui/react-utilities'; import { SlotClassNames } from '@fluentui/react-utilities'; import { SlotPropsRecord } from '@fluentui/react-utilities'; +import { SlotRenderFunction } from '@fluentui/react-utilities'; import { SpacingTokens } from '@fluentui/react-theme'; import { SpinButton } from '@fluentui/react-spinbutton'; import { SpinButtonBounds } from '@fluentui/react-spinbutton'; @@ -1734,6 +1735,8 @@ export { SlotClassNames } export { SlotPropsRecord } +export { SlotRenderFunction } + export { SpacingTokens } export { SpinButton } diff --git a/packages/react-components/react-components/src/index.ts b/packages/react-components/react-components/src/index.ts index f2cba7fbc04ab9..2ed149a2e4f4fb 100644 --- a/packages/react-components/react-components/src/index.ts +++ b/packages/react-components/react-components/src/index.ts @@ -110,6 +110,7 @@ export type { Slot, SlotClassNames, SlotPropsRecord, + SlotRenderFunction, } from '@fluentui/react-utilities'; // Components