Sha256: b90575a2d4ae880c90ec80b59441afc2064daba852b517d8d9f4f97137f28559
Contents?: true
Size: 840 Bytes
Versions: 3
Compression:
Stored size: 840 Bytes
Contents
# typed: false # frozen_string_literal: true module Ariadne module UI module Dialog class Component < Ariadne::BaseComponent option :title option :trigger_close_label option :description, optional: true renders_one :trigger renders_one :footer accepts_html_attributes style do base do [ "ariadne-fixed", "ariadne-w-96", "ariadne-max-w-[90vw]", "ariadne-max-h-[90-vh]", "ariadne-shadow-xl", "ariadne-rounded-2xl", "ariadne-background", "dark:ariadne-bg-zinc-950", "backdrop:ariadne-bg-zinc-900/20", "backdrop:dark:ariadne-bg-zinc-100/20", ] end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems