UNPKG

@engie-group/fluid-design-system-react

Version:

Fluid Design System React

14 lines (13 loc) 770 B
import { SegmentedControlButtonProperties } from '@engie-group/fluid-types'; import React from 'react'; import { AsChild, HTMLAttributesWithoutComponentProps } from '../../utils/typeHelpers'; export declare const NJSegmentedControlButton: React.ForwardRefExoticComponent<NJSegmentedControlButtonProps & React.RefAttributes<HTMLButtonElement>>; type SegmentedControlButtonSlots = { /** * Custom icon node to be displayed in the button. */ icon?: React.ReactNode; }; type SegmentedControlButtonCustomProps = SegmentedControlButtonProperties & SegmentedControlButtonSlots; export type NJSegmentedControlButtonProps = SegmentedControlButtonCustomProps & AsChild<HTMLAttributesWithoutComponentProps<'button', SegmentedControlButtonCustomProps>>; export {};