Module

HeroUI.Internal

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

#createElementTransformImpl Source

createElementTransformImpl :: forall transforms component props children. Fn4 transforms component props children JSX

#CoerceHeroProps Source

class CoerceHeroProps :: forall k. Type -> k -> Type -> Constraintclass CoerceHeroProps props strippedProps targetProps | props -> strippedProps

Like Yoga.React.DOM.Internal.CoerceReactProps, but additionally accepts (and silently passes through) aria-* attributes. HeroUI's underlying components forward them to the DOM — see issue #1.

Instances

#coerceHeroProps Source

coerceHeroProps :: forall props strippedProps targetProps. CoerceHeroProps props strippedProps targetProps => props -> targetProps

#WithoutPassthroughProps Source

class WithoutPassthroughProps props without  where

Members

Instances

#WithoutPassthroughRL Source

class WithoutPassthroughRL :: RowList Type -> RowList Type -> Constraintclass WithoutPassthroughRL (from :: RowList Type) (to :: RowList Type) | from -> to

Instances

#MaybeWithoutPassthroughRL Source

class MaybeWithoutPassthroughRL :: Boolean -> Symbol -> Type -> RowList Type -> RowList Type -> Constraintclass MaybeWithoutPassthroughRL (exclude :: Boolean) (propName :: Symbol) (propVal :: Type) (from :: RowList Type) (to :: RowList Type) | exclude propName propVal from -> to

Instances