Skip to content

Commit b99587f

Browse files
committed
add some default margin to each side
1 parent 8ed0fa1 commit b99587f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/components/Typography/WhiteSpaceContainer.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { CLASSPREFIX as eccgui } from "../../configuration/constants";
44

55
import * as TypographyClassNames from "./classnames";
66

7-
type WhiteSpaceSizes = "tiny" | "small" | "regular" | "large" | "xlarge";
7+
type WhiteSpaceSizes = "none" | "tiny" | "small" | "regular" | "large" | "xlarge";
88

99
export interface WhiteSpaceContainerProps extends React.HTMLAttributes<HTMLDivElement> {
1010
/**
@@ -52,10 +52,10 @@ export interface WhiteSpaceContainerProps extends React.HTMLAttributes<HTMLDivEl
5252
export const WhiteSpaceContainer = ({
5353
className,
5454
children,
55-
marginTop,
56-
marginRight,
57-
marginBottom,
58-
marginLeft,
55+
marginTop = "regular",
56+
marginRight = "regular",
57+
marginBottom = "regular",
58+
marginLeft = "regular",
5959
paddingTop,
6060
paddingRight,
6161
paddingBottom,

0 commit comments

Comments
 (0)