import * as React from 'react'; import { useSettingsToggle } from '../../hooks/useSettingsToggle'; /** @alpha */ export interface SettingsMenuToggleProps extends React.ButtonHTMLAttributes {} /** * The `SettingsMenuToggle` component is a button that toggles the visibility of the `SettingsMenu` component. * @remarks * For the component to have any effect it has to live inside a `LayoutContext` context. * * @alpha */ export const SettingsMenuToggle: ( props: SettingsMenuToggleProps & React.RefAttributes, ) => React.ReactNode = /* @__PURE__ */ React.forwardRef( function SettingsMenuToggle(props: SettingsMenuToggleProps, ref) { const { mergedProps } = useSettingsToggle({ props }); return ( ); }, );