T

TableSwitchRowProps

Props of TableSwitchRow (function). Exports: TableSwitchRow.

type TableSwitchRowProps = Omit<TableRowProps, "accessibilityHint" | "disabled" | "label" | "onValueChange" | "subLabel" | "trailing" | "value" | "variant"> & { accessibilityHint?: TableRowProps["accessibilityHint"]; disabled?: FormsFormSwitchProps["disabled"]; label?: DesignTextProps["children"]; onValueChange?: (...args: any[]) => unknown; subLabel?: React.ReactElement | TableRowProps["subLabel"]; trailing?: React.ComponentProps<typeof RN.View>["children"]; value?: boolean; variant?: TableRowProps["variant"] }

See also

design/components/TableRow/native/TableSwitchRow.native.tsx