blob: 9b172aae024a61fd77ebecf4c38ee0ba4a2986c4 (
plain) (
tree)
|
|
import { Styles } from '@0xproject/react-shared';
import * as React from 'react';
export interface SectionProps {
header: React.ReactNode;
body: React.ReactNode;
}
export const Section = (props: SectionProps) => {
return (
<div className="flex flex-column" style={{ height: '100%' }}>
{props.header}
<div className="flex-auto">{props.body}</div>
</div>
);
};
|