@visa/nova-react
Version:
Visa Product Design System Nova React library. Compatible with React ^19.
15 lines (14 loc) • 635 B
TypeScript
import type { ComponentPropsWithRef, ElementType } from 'react';
export type ToggleContainerProperties<ET extends ElementType = 'fieldset'> = {
/** Tag of Component */
tag?: ElementType;
} & ComponentPropsWithRef<ET>;
/**
* Element to contain a group of toggle components.
* @docs {@link https://design.visa.com/components/toggle-button/?code_library=react | See Docs}
*/
declare const ToggleContainer: {
<ET extends ElementType = "fieldset">({ className, tag: Tag, ...remainingProps }: ToggleContainerProperties<ET>): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
export default ToggleContainer;