SupabaseSurface.Components.Typography.Text (supabase_surface v0.1.3)
Properties
- type :atom, values: [:default, :success, :danger, :secondary, :warning] - The type (color) of the text.
- disabled :boolean, default: false - Apply
disabled
style. - underline :boolean, default: false - Apply
underline
style. - strikethrough :boolean, default: false - Apply
strikethrough
style. - small :boolean, default: false - Apply
small
style. - class :css_class - CSS classes to apply.
- html_type :string, values: ["span", "kbd", "code", "mark", "strong"], default: "span" - Which html tag to use for enclosing the tag.
- opts :keyword, default: [] - Additional options passed to the element.
Slots
- default, required: true - The content.
Link to this section Summary
Functions
Callback implementation for Phoenix.LiveComponent.mount/1
.
Callback implementation for Phoenix.LiveComponent.update/2
.
Link to this section Functions
Link to this function
mount(socket)
Callback implementation for Phoenix.LiveComponent.mount/1
.
Link to this function
render_text(classes, assigns, attrs)
Link to this function
update(assigns, socket)
Callback implementation for Phoenix.LiveComponent.update/2
.