PhxComponentHelpers.validate_required_attributes

You're seeing just the function validate_required_attributes, go back to PhxComponentHelpers module for more information.
Link to this function

validate_required_attributes(assigns, required)

View Source

Validates that attributes are present in assigns. Raises an ArgumentError if any attribute is missing.

Example

assigns
|> validate_required_attributes([:id, :label])