Files
powerpoint-toolbox/node_modules/@fluentui/react-infobutton/lib/components/InfoButton/InfoButton.js
T
2025-03-07 19:22:02 +01:00

15 lines
786 B
JavaScript

/* eslint-disable deprecation/deprecation */ import * as React from 'react';
import { renderInfoButton_unstable } from './renderInfoButton';
import { useInfoButton_unstable } from './useInfoButton';
import { useInfoButtonStyles_unstable } from './useInfoButtonStyles.styles';
/**
* InfoButtons provide a way to display additional information about a form field or an area in the UI.
*
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
*/ export const InfoButton = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useInfoButton_unstable(props, ref);
useInfoButtonStyles_unstable(state);
return renderInfoButton_unstable(state);
});
InfoButton.displayName = 'InfoButton';