@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
17 lines (16 loc) • 651 B
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
export type DividerProperties<ET extends ElementType = 'div'> = {
/** Divider Type */
dividerType?: 'decorative' | 'section';
} & ComponentPropsWithRef<ET>;
/**
* Visual element used to separate and group information on a page.
* @docs {@link https://design.visa.com/components/divider/?code_library=react | See Docs}
* @vgar TODO
* @wcag TODO
*/
declare const Divider: {
<ET extends ElementType = "div">({ className, dividerType, ...remainingProps }: DividerProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default Divider;