SupabaseSurface.Components.Button.Size (supabase_surface v0.1.2)

Size

You can define the size of a button using the size prop.

There are tiny, small, medium, large and xlarge. The default is tiny.

Properties

  • id :string, required: true - The id of the live view.
  • session :map - The request info necessary for the view, such as params, cookie session info, etc. The session is signed and stored on the client, then provided back to the server when the client connects, or reconnects to the stateful view. .

Link to this section Summary

Link to this section Functions

Link to this function

mount(params, session, socket)

Callback implementation for Phoenix.LiveView.mount/3.

Link to this function

render(assigns)

Callback implementation for Phoenix.LiveView.render/1.