leumas-universal-crud-react
Version:
Leumas Universal CRUD to a dynamic Endpoint, Setup your own Dynamic Endpoint and Use Leumas API to send to your MONGO clusters
36 lines (28 loc) • 1.05 kB
JSX
// productDetailsFormConfig.js
export const productDetailsFormConfig = [
[
{ type: 'textarea', name: 'bestSellingProduct', placeholder: 'What is your best selling product?' }
],
[
{ type: 'textarea', name: 'productOrigin', placeholder: 'Where are your products sourced?' }
],
//... add more questions related to product details
];
// businessQuestionsFormConfig.js
export const businessQuestionsFormConfig = [
[
{ type: 'textarea', name: 'who', placeholder: 'Who is your business targeting?' }
],
[
{ type: 'textarea', name: 'what', placeholder: 'What products or services does your business offer?' }
],
[
{ type: 'textarea', name: 'when', placeholder: 'When was your business established?' }
],
[
{ type: 'textarea', name: 'why', placeholder: 'Why did you start this business?' }
],
[
{ type: 'textarea', name: 'how', placeholder: 'How does your business differentiate from competitors?' }
]
];