import { Accessor } from "ags"; import { Gtk } from "ags/gtk4"; export interface SeparatorProps { class?: string; alpha?: number; cssColor?: string; orientation?: Gtk.Orientation; size?: number; spacing?: number; margin?: number; visible?: boolean | Accessor; } export function Separator(props: SeparatorProps = { orientation: Gtk.Orientation.HORIZONTAL }) { props.alpha = props.alpha ? (props.alpha > 1 ? props.alpha / 100 : props.alpha) : 1; props.orientation = props.orientation ?? Gtk.Orientation.HORIZONTAL; return }