adnlah – 23-34 Aug 3
Hello.
I have a component of a form template (it has the structure and styling along with some functionalities like a filtered list of items), and I want to pass 3 components (header, a table, and invoice details) to it and I don't know whether should I use slots, props or use a whole other approach.
I want to do this because I have 5 (or more) types invoices and they all share the same layout.
I have a component of a form template (it has the structure and styling along with some functionalities like a filtered list of items), and I want to pass 3 components (header, a table, and invoice details) to it and I don't know whether should I use slots, props or use a whole other approach.
I want to do this because I have 5 (or more) types invoices and they all share the same layout.
