Packages

A comprehensive Phoenix LiveView component library based on HyperUI Tailwind CSS components.

Retired package: Release invalid - Package has a breaking bug

Current section

Files

Jump to
hyper_ui storybook components quantity_input.story.exs
Raw

storybook/components/quantity_input.story.exs

defmodule HyperUI.Storybook.QuantityInput do
use PhoenixStorybook.Story, :component
def function, do: &HyperUI.Components.Ecommerce.quantity_input/1
def variations do
[
%Variation{
id: :default,
attributes: %{id: "qty", name: "quantity", value: 1}
}
]
end
end