SegmentSelector
The SegmentSelector
component
Experimental
The SegmentSelector
is still experimental. Be aware that the API is subject to
change.
SegmentSelectorProps
Signature:
export declare type SegmentSelectorProps = & & & & & & {
/**
* Configures the style of the trigger.
* @defaultValue 'default
*/
variant?: | ;
/** Callback that is triggered when the open state of the SegmentSelector's overlay changes its open state. */
onOpenChange?: (isOpen: ) => ;
/**
* Whether the SegmentSelector is readonly.
* If true, the user can't change the selected segments but the overlay can still be opened.
* @defaultValue false
*/
readOnly?: ;
/**
* Whether the SegmentSelector is disabled.
* If true, the user can't change the selected segments or open the overlay.
* @defaultValue false
*/
disabled?: ;
};
SegmentSelector.CustomTrigger
SegmentSelectorCustomTriggerProps
Signature:
export declare type SegmentSelectorCustomTriggerProps = & & {
/** Elements to be displayed in the CustomTrigger. */
children: | ((customTriggerProps: {
displayValue: ;
isLoading: ;
}, props: ( & & (<<<>>> & )) | ) => );
};
Still have questions?
Find answers in the Dynatrace Community