import { default as React } from 'react'; import { PolymorphicComponentProps } from '@entur/utils'; export type SmallTextOwnProps = { /** 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 SmallTextProps = PolymorphicComponentProps; declare const defaultElement = "span"; export declare const SmallText: ({ className, margin, as, ...rest }: SmallTextProps) => JSX.Element; export {};