@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
15 lines (14 loc) • 579 B
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
export type PanelBodyProperties<ET extends ElementType = 'div'> = {
/** Tag of Component */
tag?: ElementType;
} & ComponentPropsWithRef<ET>;
/**
* Container for panel body elements.
* @docs {@link https://design.visa.com/components/panel/?code_library=react | See Docs}
*/
declare const PanelBody: {
<ET extends ElementType = "div">({ className, tag: Tag, ...remainingProps }: PanelBodyProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default PanelBody;