import { default as React } from 'react'; import { PolymorphicComponentProps } from '@entur/utils'; export type Heading5OwnProps = { /** HTML-elementet eller React-komponenten som rendres * @default "h5" */ as?: string | React.ElementType; /** Ekstra klassenavn */ className?: string; /** Innholdet */ children: React.ReactNode; /** Hvor du vil ha marginer * @default "both" */ margin?: 'top' | 'bottom' | 'both' | 'none'; }; export type Heading5Props = PolymorphicComponentProps; declare const defaultElement = "h5"; export declare const Heading5: ({ margin, children, as, ...rest }: Heading5Props) => JSX.Element; export {};