diff --git a/packages/react-spinbutton/src/components/SpinButton/SpinButton.types.ts b/packages/react-spinbutton/src/components/SpinButton/SpinButton.types.ts index 447c11250d0bd..f11cf3e8bb6ae 100644 --- a/packages/react-spinbutton/src/components/SpinButton/SpinButton.types.ts +++ b/packages/react-spinbutton/src/components/SpinButton/SpinButton.types.ts @@ -1,5 +1,5 @@ import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities'; -// import { Input } from '@fluentui/react-input'; +import { Input } from '@fluentui/react-input'; import * as React from 'react'; export type SpinButtonSlots = { @@ -18,6 +18,8 @@ export type SpinButtonSlots = { */ input: NonNullable>; + inputExample: NonNullable>; + /** * Renders the increment control. */ diff --git a/packages/react-utilities/src/compose/types.ts b/packages/react-utilities/src/compose/types.ts index aed567548e3a9..2833baea5a140 100644 --- a/packages/react-utilities/src/compose/types.ts +++ b/packages/react-utilities/src/compose/types.ts @@ -95,7 +95,7 @@ type IntrisicElementProps = React.Prop * ``` */ export type Slot< - Type extends keyof JSX.IntrinsicElements | React.ComponentType | UnknownSlotProps, + Type extends keyof JSX.IntrinsicElements | React.ComponentType | React.VoidFunctionComponent | UnknownSlotProps, AlternateAs extends keyof JSX.IntrinsicElements = never > = IsSingleton> extends true ?