saleor-dashboard/src/components/Metadata/fixtures.ts
Michał Droń d5c9a3dae8
Add trailing commas (#2062)
* Require trailing commas

* Add trailing commas

* Add trailing commas in testUtils dir

* Add trailing commas
2022-06-21 11:36:55 +02:00

22 lines
396 B
TypeScript

import { MetadataProps } from "./Metadata";
export const props: MetadataProps = {
data: {
metadata: [
{
key: "key",
value: "value",
},
{
key: "key2",
value: '{\n "jsonValue": "some-value"\n}',
},
{
key: "key3",
value: "some-value",
},
],
privateMetadata: [],
},
onChange: () => undefined,
};