16 lines
780 B
JavaScript
16 lines
780 B
JavaScript
'use client';
|
|
import * as React from 'react';
|
|
import { renderToggleButton_unstable } from '@fluentui/react-button';
|
|
import { useToolbarRadioButton_unstable } from './useToolbarRadioButton';
|
|
import { useToolbarRadioButtonStyles_unstable } from './useToolbarRadioButtonStyles.styles';
|
|
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
|
/**
|
|
* ToolbarRadioButton component
|
|
*/ export const ToolbarRadioButton = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
const state = useToolbarRadioButton_unstable(props, ref);
|
|
useToolbarRadioButtonStyles_unstable(state);
|
|
useCustomStyleHook_unstable('useToolbarRadioButtonStyles_unstable')(state);
|
|
return renderToggleButton_unstable(state);
|
|
});
|
|
ToolbarRadioButton.displayName = 'ToolbarRadioButton';
|