Solidtype_heroui.Close_buttonHeroUI's CloseButton: Kobalte's Button.Root, a native <button> named "Close", with HeroUI's classes from Styles.CloseButton and the state its styles read -- hovered, pressed, focused, focus-visible, disabled -- kept by Interaction as React Aria keeps it. It draws HeroUI's cross, or the children it is given. Its props are named as HeroUI's documentation names them, but for on_click, a click as Kobalte gives it, where HeroUI's is onPress.
<Close_button on_click=(fun _ -> close ()) />module Icon : sig ... endHeroUI's cross: the <svg> a close button draws where it is given no children, for a part that is a close button of its own.
module Props : sig ... endval make : Props.t -> Solidtype.Jsx.elementval component : Props.t Solidtype.Jsx.component