mitre-form-component 0.0.44 → 0.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,9 +39,9 @@ Aqui está um exemplo de uso básico dentro do projeto:
|
|
|
39
39
|
```tsx
|
|
40
40
|
import { MitreFormComponent } from "mitre-form-component-next";
|
|
41
41
|
|
|
42
|
-
//
|
|
43
|
-
const products = JSON.parse(process.env.
|
|
44
|
-
// Exemplo de
|
|
42
|
+
// array de produtos
|
|
43
|
+
const products = JSON.parse(process.env.VITE_PRODUCT_ID!);
|
|
44
|
+
// Exemplo de VITE_PRODUCT_ID: '[{"id":1,"name":"Apartamento 2 quartos"},{"id":2,"name":"Casa 3 quartos"}]'
|
|
45
45
|
|
|
46
46
|
<MitreFormComponent
|
|
47
47
|
products={products}
|