@visa/nova-react
Version:
Visa Product Design System Nova React library
21 lines (20 loc) • 787 B
TypeScript
import { ElementType, ForwardedRef } from 'react';
export type SurfaceProperties = {
/** @ignore */
className?: string;
/** Type of Surface */
surfaceType?: 'alternate';
/** Tag of Component */
tag?: ElementType;
};
/**
* Styles container to be used for alternate backgrounds.
* @docs {@link https://design.visa.com/react/components/surface | See Docs}
* @vgar TODO
* @wcag TODO
*/
declare const _default: <HTMLElementType = HTMLDivElement>(props: {
children?: import("react").ReactNode | import("react").ReactNode[];
ref?: ForwardedRef<HTMLElementType> | undefined;
} & import("react").AllHTMLAttributes<HTMLElementType> & import("react").SVGAttributes<HTMLElementType> & SurfaceProperties) => import("react").ReactElement;
export default _default;