GraphiQL API Documentation
Preparing search index...
@graphiql/react
SegmentedControlProps
Type Alias SegmentedControlProps<T>
type
SegmentedControlProps
<
T
extends
string
=
string
>
=
{
ariaLabel
?:
string
;
onChange
:
(
value
:
T
)
=>
void
;
options
:
SegmentedControlOption
<
T
>
[]
;
value
:
T
;
}
Type Parameters
T
extends
string
=
string
Index
Properties
aria
Label?
on
Change
options
value
Properties
Optional
aria
Label
ariaLabel
?:
string
on
Change
onChange
:
(
value
:
T
)
=>
void
options
options
:
SegmentedControlOption
<
T
>
[]
value
value
:
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
aria
Label
on
Change
options
value
GraphiQL API Documentation
Loading...