@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
16 lines (15 loc) • 636 B
TypeScript
import React from 'react';
import { HelpProps } from '../../../../components/help-button/HelpButtonInline';
import type { HeadingLevel } from '../../../../components/heading/Heading';
import type { ComponentProps } from '../../types';
export type Props = ComponentProps & {
level?: HeadingLevel;
help?: HelpProps;
children?: React.ReactNode;
} & Omit<React.HTMLProps<HTMLElement>, 'size'>;
declare function SubHeading({ level, ...props }: Props): import("react/jsx-runtime").JSX.Element;
declare namespace SubHeading {
var _supportsSpacingProps: boolean;
var _isHeadingElement: boolean;
}
export default SubHeading;