@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
17 lines (16 loc) • 642 B
TypeScript
import React from 'react';
import type { SpacingProps } from '../../shared/types';
import type { SkeletonShow } from '../skeleton/Skeleton';
type TrendOwnProps = {
value?: number | string;
element?: keyof JSX.IntrinsicElements;
srLabel?: React.ReactNode;
tone?: 'positive' | 'negative' | 'neutral';
skeleton?: SkeletonShow;
};
export type TrendProps = Omit<React.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;