Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 893 Bytes

README.md

File metadata and controls

37 lines (29 loc) · 893 Bytes

PecaComponents

TODO: Add description

Installation

If available in Hex, the package can be installed by adding peca_components to your list of dependencies in mix.exs:

def deps do
  [
    {:peca_components, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/peca_components.

Override default styling:

config :peca_components, defaults: [ button: [ spacing: "px-4 py-2", sizing: "w-6 h-6", typography: "text-gray-700", background: "transparent", borders: "border", rounded: "rounded-md", states: "hover:opacity-75",

        button_text: "Click Me"
    ]
]