// Button. variant: default | primary | danger | ghost — size: sm | md | lg.
// Use the `label` prop, or put custom content in the slot.
component Button {
  props {
    label = "Button"
    variant = "default"
    size = "md"
    type = "button"
    class = ""
  }
  view {
    <button type="{type}" class="wire-btn wire-btn--{variant} wire-btn--{size} {class}"><slot>{label}</slot></button>
  }
}
