RtkButton
A button that follows RealtimeKit's Design System.
<View>
<RtkButton>Primary</RtkButton>
<RtkButton variant="secondary">Secondary</RtkButton>
</View>
Props
disabled
Where the button is disabled or not
Default
false
Type
boolean
kind
Button type
Default
'button'
Type
"button" | "icon" | "wide"
reverse
Whether to reverse order of children
Default
false
Type
boolean
size
Size
Type
"lg" | "md" | "sm" | "xl"
type
Button type
Default
'button'
Type
"button" | "reset" | "submit"
variant
Button variant
Default
'primary'
Type
"danger" | "ghost" | "primary" | "secondary"