Scenic.Component.validate

You're seeing just the callback validate, go back to Scenic.Component module for more information.

Specs

validate(data :: any()) :: {:ok, data :: any()} | {:error, String.t()}

Validate that the data for a component is correctly formed.

This callback is required.