controlSize
Set the preferred size of controls.
controlSize(value) sets the SwiftUI control size for the view and its descendants.
Supported values: mini, small, regular, large, and extraLarge.
import { Button, Modifier, Text } from "onescript/views"
<Button
action={() => submit()}
modifier={Modifier.controlSize("large")}
>
<Text>Continue</Text>
</Button>How is this guide?
Last updated on