I was tinkering with making a custom component for product images. This should process some arguments. If I look at the file
/app/View/Components/Alert.php I get the feeling that this is something I could use as a boilerplate.
From what I understand you can call it and pass 2 arguments,
message, then it grabs the view from
components.alert and renders it.
The thing is that I don’t know how to call this
Alert component and pass arguments from, for example,
How would I accomplish this?