# AUTO GENERATED FILE - DO NOT EDIT import typing # noqa: F401 from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401 from dash.development.base_component import Component, _explicitize_args ComponentType = typing.Union[ str, int, float, Component, None, typing.Sequence[typing.Union[str, int, float, Component, None]], ] NumberType = typing.Union[ typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex ] class RadioItems(Component): """A RadioItems component. RadioItems is a component that encapsulates several radio item inputs. The values and labels of the RadioItems is specified in the `options` property and the seleced item is specified with the `value` property. Each radio item is rendered as an input and associated label which are siblings of each other. Keyword arguments: - options (list of dicts; optional): The options to display as items in the component. This can be an array or a dictionary as follows: \n1. Array of options where the label and the value are the same thing - [string|number] \n2. An array of options ``` { \"label\": [string|number], \"value\": [string|number], \"disabled\": [bool] (Optional), \"input_id\": [string] (Optional), \"label_id\": [string] (Optional) } ``` \n3. Simpler `options` representation in dictionary format. The order is not guaranteed. All values and labels will be treated as strings. ``` {\"value1\": \"label1\", \"value2\": \"label2\", ... } ``` which is equal to ``` [ {\"label\": \"label1\", \"value\": \"value1\"}, {\"label\": \"label2\", \"value\": \"value2\"}, ] ```. `options` is a list of string | numbers | dict | list of dicts with keys: - label (a list of or a singular dash component, string or number; required): The radio item's label. - value (string | number; required): The value of the radio item. This value corresponds to the items specified in the `value` property. - disabled (boolean; optional): If True, this radio item is disabled and can't be clicked on. - input_id (string; optional): id for this option's input, can be used to attach tooltips or apply CSS styles. - label_id (string; optional): id for this option's label, can be used to attach tooltips or apply CSS styles. - value (string | number; optional): The currently selected value. - id (string; optional): The ID of the RadioItems. - inline (boolean; optional): Arrange RadioItems inline. - switch (boolean; optional): Set to True to render toggle-like switches instead of radios. - class_name (string; optional): The class of the container (div). - input_style (dict; optional): The style of the radio element. - input_checked_style (dict; optional): Additional inline style arguments to apply to elements on checked items. - input_class_name (string; optional): The class of the radio element. - input_checked_class_name (string; optional): Additional CSS classes to apply to the element when the corresponding radio is checked. - label_style (dict; optional): Inline style arguments to apply to the