interface MenuRadioButtonProps {
    label: string;
    onSelect: ((id) => void);
    selected?: boolean;
    style?: StyleProp<TextStyle>;
    uid: undefined | number;
}

Properties

label: string

The label for the button.

onSelect: ((id) => void)

The callback that is called when the button is pressed.

Type declaration

    • (id): void
    • Parameters

      • id: undefined | number

        The uid prop.

      Returns void

selected?: boolean

Whether the radio button is selected.

The style overrides for the radio button.

uid: undefined | number

The uid used in the callback when the button is pressed.

Generated using TypeDoc