UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

17 lines (16 loc) 659 B
import type { HTMLProps, JSX, ReactNode } from 'react'; import type { SpacingProps } from '../../shared/types'; import type { SkeletonShow } from '../skeleton/Skeleton'; type TrendOwnProps = { value?: number | string; element?: keyof JSX.IntrinsicElements; srLabel?: ReactNode; tone?: 'positive' | 'negative' | 'neutral'; skeleton?: SkeletonShow; }; export type TrendProps = Omit<HTMLProps<HTMLElement>, keyof TrendOwnProps | 'ref'> & TrendOwnProps & SpacingProps; declare function Trend(props: TrendProps): import("react/jsx-runtime").JSX.Element; declare namespace Trend { var _supportsSpacingProps: boolean; } export default Trend;