Rename
HEEx
<div class="w-3xs rounded-lg bg-primary py-1 shadow-lg ring-1 ring-secondary_alt">
<ConnieUI.Dropdowns.item icon="icon-edit-02" click={JS.push("rename")}>Rename</ConnieUI.Dropdowns.item>
</div>
Variant matrix
Every combination of one or two attributes, side by side.
Controls
Set by the example
click gates
Docs
No @doc for this component.
| Attribute | Type | Default | Description |
|---|---|---|---|
| No data found. | |||
| click | {:struct, Phoenix.LiveView.JS} | nil |
|
| icon | :string | nil |
|
| icon_class | :string | "text-fg-quaternary" |
|
| selected | :boolean | false |
|
| gates | :list | [] |
List of gates to check, e.g. [{:permission, :edit}, {:feature, :enable_x}, {:limit, :templates}]
|
| Slot | Slot attributes | Description |
|---|---|---|
| No data found. | ||
| inner_block * | ||