ToggleButtonGroupProps

external interface ToggleButtonGroupProps : PropsWithChildren

Props used to customize the ToggleButtonGroup.

Properties

Link copied to clipboard
abstract var children: ReactNode?
Link copied to clipboard
abstract var defaultValue: Any

defaultValue prop.

Link copied to clipboard
abstract var key: Key?
Link copied to clipboard
abstract var name: String

name prop.

Link copied to clipboard
abstract var onChange: (Any) -> Unit

onChange prop, callback function.

Link copied to clipboard
abstract var size: String

size prop to choose buttons size, 'sm' | 'lg'.

Link copied to clipboard
abstract var type: String

type prop, 'checkbox' | 'radio'.

Functions

Link copied to clipboard
open inline fun <P : Props> child(type: ElementType<P>, props: P)
Link copied to clipboard
open inline operator fun <P : Props> ElementType<P>.invoke()
open inline operator fun <T> ContextType<T>.invoke(noinline block: ProviderProps<T>.() -> Unit)
open inline operator fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator fun <T> ContextType<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
open inline operator fun <T> Provider<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
Link copied to clipboard
open inline operator fun Char.unaryPlus()
open inline operator fun String?.unaryPlus()
open inline operator fun ReactNode?.unaryPlus()
open inline operator fun Props?.unaryPlus()