import { default as React } from 'react'; import { PolymorphicComponentProps } from '@entur/utils'; export type SubLabelOwnProps = { /** HTML-elementet eller React-komponenten som rendres * @default "span" */ 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 SubLabelProps = PolymorphicComponentProps; declare const defaultElement = "span"; export declare const SubLabel: ({ className, margin, as, ...rest }: SubLabelProps) => JSX.Element; export {};