import type { IToolbarDependencyContext, IToolbarToggleButton } from '@msinternal/sp-toolbar'; import type { ITopActionsFieldCommonProps } from '../topActionsField/topActionsField'; /** * TopActions toggle props. * * @alpha */ export interface ITopActionsToggleProps extends Pick, ITopActionsFieldCommonProps { /** * Whether or not the toggle button is in an active state. * * @privateRemarks * For top actions, we don't pass an object containing all the buttons' states to a toolbar * component like `sp-rte-toolbars`. Instead, we pass each top action individually. */ checked?: boolean; /** * Logger info for QoS and EngagementLogger. * * @privateRemarks * `ToolbarToggleButton` requires `Toolbar` component to manage its toggle state. Since we don't support `Toolbar` * in top actions currently, we use `ToggleButton` instead. We need to pass logger info since `ToggleButton` * doesn't get this from `ToolbarDependencyContext` like the other Fluent v9 toolbar buttons (VSO:2671685). * * @internal */ readonly loggerInfo?: Partial; } //# sourceMappingURL=ITopActionsToggle.d.ts.map