We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df81317 commit fe742a1Copy full SHA for fe742a1
polaris-react/src/components/Modal/components/Header/Header.tsx
@@ -55,33 +55,4 @@ export function Header({
55
</Columns>
56
</Box>
57
);
58
-
59
- if (titleHidden || !children) {
60
- return titleHiddenMarkup;
61
- }
62
63
- return (
64
- <Box
65
- paddingBlockStart="4"
66
- paddingBlockEnd="4"
67
- paddingInlineStart="5"
68
- paddingInlineEnd="5"
69
- borderBlockEnd="divider"
70
- >
71
- <Columns columns={{xs: '1fr auto'}}>
72
- <Inline>
73
- <Text id={id} as="h2" variant="headingLg" breakWord>
74
- {children}
75
- </Text>
76
- </Inline>
77
78
- <CloseButton
79
- pressed={closing}
80
- titleHidden={titleHidden}
81
- onClick={onClose}
82
- />
83
84
- </Columns>
85
- </Box>
86
- );
87
}
0 commit comments