radio component
This commit is contained in:
@@ -24,6 +24,12 @@ defmodule LabelmakerWeb.Constants do
|
||||
|> Enum.map(&Atom.to_string/1)
|
||||
|
||||
@alignments [
|
||||
"left",
|
||||
"center",
|
||||
"right"
|
||||
]
|
||||
|
||||
@gravity [
|
||||
"west",
|
||||
"center",
|
||||
"east"
|
||||
@@ -92,6 +98,7 @@ defmodule LabelmakerWeb.Constants do
|
||||
def max_label_error, do: @max_label_error
|
||||
def outlines, do: ["none" | @colors]
|
||||
def permitted_alignments, do: @alignments
|
||||
def permitted_gravity, do: @gravity
|
||||
def permitted_keys, do: @permitted_keys
|
||||
def preview, do: @preview
|
||||
def sizes, do: @sizes
|
||||
|
||||
Reference in New Issue
Block a user