import React , { memo } from 'react' ; import { HeadingProps } from '../../Typography' ; import { StyledFieldsetLegend } from './styled' ; export const FieldsetLegend = memo ( ( { className , style , ... props } ) => ( < StyledFieldsetLegend { ... props } / > ) ) ;