@visa/nova-react
Version:
Visa Product Design System Nova React library
25 lines (24 loc) • 1.16 kB
TypeScript
import { ForwardedRef, ReactElement } from 'react';
export type TabSuffixProperties = {
/** @ignore */
className?: string;
} & ({
/** Child element that the styles are applies to. Only allows for single child element. (not compatible with element property) */
children: ReactElement;
/** Cloned Element (not compatible with children) */
element?: never;
} | {
/** Child element that the styles are applies to. Only allows for single child element. (not compatible with element property) */
children?: never;
/** Cloned Element (not compatible with children) */
element: ReactElement;
});
/**
* Utility class for positioning and styling elements at the end of tab components.
* @docs {@link https://design.visa.com/react/components/tabs | See Docs}
*/
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> & TabSuffixProperties)) => ReactElement;
export default _default;