@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
38 lines (37 loc) • 971 B
TypeScript
/**
* HTML Element
*
*/
import React from 'react';
import { SpacingProps } from '../../components/space/types';
type HrProps = SpacingProps & React.HTMLAttributes<HTMLHRElement> & {
/**
* To make the hr full width.
*/
breakout?: boolean;
/**
* To make the hr dashed.
*/
dashed?: boolean;
} & HrDeprecatedProps;
type HrDeprecatedProps = {
/**
* @deprecated use `breakout` instead
*/
fullscreen?: boolean;
/**
* Not official prop, but used to make the hr lighter.
* @deprecated Will be removed in future version.
*/
light?: boolean;
/**
* Not official prop, but used to make the hr stronger.
* @deprecated Will be removed in future version.
*/
medium?: boolean;
};
declare const Hr: {
({ breakout, dashed, fullscreen, light, medium, className, ...props }?: HrProps): import("react/jsx-runtime").JSX.Element;
_supportsSpacingProps: boolean;
};
export default Hr;