Skip to content

Commit d3f458c

Browse files
authored
v5.1.16 (#610)
* Add containerProps to ModalFooter * v5.1.16
1 parent e7dc0fe commit d3f458c

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netdata/netdata-ui",
3-
"version": "5.1.15",
3+
"version": "5.1.16",
44
"description": "netdata UI kit",
55
"main": "dist/index.js",
66
"module": "dist/es6/index.js",

src/components/modal/index.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,15 @@ export const ModalBody = ({ children, testId, ...rest }) => (
2929
</Flex>
3030
)
3131

32-
export const ModalFooter = ({ children, hasBorder = true, parentPadding, testId, ...rest }) => (
33-
<Flex column padding={parentPadding || [0, LEFT_RIGHT_PADDING]} flex={1}>
32+
export const ModalFooter = ({
33+
children,
34+
hasBorder = true,
35+
parentPadding,
36+
testId,
37+
containerProps = {},
38+
...rest
39+
}) => (
40+
<Flex column padding={parentPadding || [0, LEFT_RIGHT_PADDING]} flex={1} {...containerProps}>
3441
<Flex
3542
data-testid={testId}
3643
flex={1}

0 commit comments

Comments
 (0)