MCPcopy Create free account
hub / github.com/Packstack-Tech/packstack / renderFooter

Function renderFooter

frontend/src/app/components/EditItem/index.tsx:33–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 };
32
33 const renderFooter = () => (
34 <ButtonGroup>
35 <div>
36 <Popconfirm title="Are you sure you want to delete this item?"
37 okText="Delete"
38 placement="bottom"
39 onConfirm={handleDelete}>
40 <Button type="danger">
41 Delete
42 </Button>
43 </Popconfirm>
44 </div>
45 <div>
46 <Button onClick={onCancel}>
47 Cancel
48 </Button>
49 <Button type="primary" onClick={onOk}>
50 Save Changes
51 </Button>
52 </div>
53 </ButtonGroup>
54 );
55
56 const { product_name, name, weight_unit, weight, product_url } = record;
57 return (

Callers 1

EditFormFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected