module Coco class Stamp < Coco::Component include Concerns::AcceptsOptions include Concerns::AcceptsTheme THEMES = [ "positive", "negative", "warning", "info" ] DEFAULT_THEME = "info" accepts_option :size, from: %i[xs sm md lg], default: :md accepts_option :style, from: %i[subtle vivid inverse compact], default: :subtle accepts_option :theme, from: THEMES, default: DEFAULT_THEME attr_reader :icon_name def initialize(icon:, **kwargs) @icon_name = icon end end end