Module

HeroUI.Switch

Package
purescript-yoga-heroui
Repository
rowtype-yoga/purescript-yoga-heroui

#SwitchProps Source

type SwitchProps :: Row Type -> Row Typetype SwitchProps r = (className :: String, classNames :: Foreign, color :: Color, defaultSelected :: Boolean, disableAnimation :: Boolean, endContent :: JSX, isDisabled :: Boolean, isReadOnly :: Boolean, isSelected :: Boolean, name :: String, onChange :: EffectFn1 Foreign Unit, onValueChange :: EffectFn1 Boolean Unit, size :: Size, startContent :: JSX, thumbIcon :: Foreign, value :: String | r)

#switch_ Source

switch_ :: forall givenProps nonDataProps kids. IsJSX kids => CoerceReactProps (Record givenProps) (Record nonDataProps) (Record (SwitchProps ())) => Record givenProps -> kids -> JSX