Sha256: 136def97d7cb002612ef270eb4f98f1db9b7546a768cfbc9ddd723c854c8472c
Contents?: true
Size: 1019 Bytes
Versions: 39
Compression:
Stored size: 1019 Bytes
Contents
# typed: false # frozen_string_literal: true module Ariadne module UI module Table class Component < Ariadne::BaseComponent renders_one :caption renders_one :header, Ariadne::UI::Table::Header::Component renders_many :rows, Ariadne::UI::Table::Row::Component renders_one :footer, Ariadne::UI::Table::Footer::Component style :table do base do [ "ariadne-w-full", "ariadne-caption-bottom", "ariadne-text-sm", ] end end style :body do base do [ "ariadne-divide-y", "ariadne-divide-zinc-100", "dark:ariadne-divide-zinc-800", ] end end style :caption do base do [ "ariadne-mt-4", "ariadne-text-sm", "ariadne-text-muted-foreground", ] end end end end end end
Version data entries
39 entries across 39 versions & 1 rubygems