@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
15 lines (14 loc) • 625 B
TypeScript
import React from 'react';
import type { SpacingProps } from '../../shared/types';
import type { SkeletonShow } from '../skeleton/Skeleton';
type InfoOwnProps = {
element?: keyof JSX.IntrinsicElements;
variant?: 'plain' | 'subtle' | 'prominent' | /** @deprecated Use "plain" instead */ 'default';
skeleton?: SkeletonShow;
};
export type InfoProps = Omit<React.HTMLProps<HTMLElement>, keyof InfoOwnProps | 'ref'> & InfoOwnProps & SpacingProps;
declare function Info(props: InfoProps): import("react/jsx-runtime").JSX.Element;
declare namespace Info {
var _supportsSpacingProps: boolean;
}
export default Info;