blob: 07868608c5e1783a1cbd8bdc47a289c3244b8eb4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import * as React from 'react';
export interface ContainerProps {
marginTop?: string | number;
marginBottom?: string | number;
marginRight?: string | number;
marginLeft?: string | number;
children?: React.ReactNode;
}
export const Container: React.StatelessComponent<ContainerProps> = (props: ContainerProps) => {
const { children, ...style } = props;
return <div style={style}>{children}</div>;
};
Container.displayName = 'Container';
|