Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 1.35 KB

File metadata and controls

14 lines (11 loc) · 1.35 KB

<SwitchCell /> Component API

Props

SwitchCell supports all the props of AccessoryCell, Cell, and the following additional props:

Prop Type Default Note
title string Required The title of the cell.
titleStyle Style The style for the title text.
switchOnCell boolean iOS: false
Android: true
Whether the switch will toggle when the cell itself is pressed.
value boolean false The value of the switch.
onSwitch (value: boolean) => void A function to call when the switch is toggled.
iconComponent React.Node A custom component to put in place of the icon.