Private
Public Access
1
0
Files

16 lines
716 B
JavaScript

/* eslint-disable @typescript-eslint/no-deprecated */ 'use client';
import * as React from 'react';
import { renderInfoLabel_unstable } from './renderInfoLabel';
import { useInfoLabel_unstable } from './useInfoLabel';
import { useInfoLabelStyles_unstable } from './useInfoLabelStyles.styles';
/**
* InfoLabel component
*
* @deprecated use {@link @fluentui/react-components#InfoLabel} from `\@fluentui/react-components` or `\@fluentui/react-infolabel` instead
*/ export const InfoLabel = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useInfoLabel_unstable(props, ref);
useInfoLabelStyles_unstable(state);
return renderInfoLabel_unstable(state);
});
InfoLabel.displayName = 'InfoLabel';