LiveServerActions.Components (live_server_actions v0.3.2)
This module provides a helper function to render a React component in a Phoenix LiveView.
Summary
Functions
Renders a React component in a Phoenix LiveView. The props
attr must be a
suitable argument to JSON.encode!/1
.
Functions
Renders a React component in a Phoenix LiveView. The props
attr must be a
suitable argument to JSON.encode!/1
.
Attributes
component
(:string
) (required)id
(:string
) (required)props
(:map
)