mirror of
https://github.com/outline/outline.git
synced 2026-06-23 16:24:23 +03:00
19 lines
369 B
JavaScript
19 lines
369 B
JavaScript
// @flow
|
|
import * as React from "react";
|
|
import theme from "../../../shared/styles/theme";
|
|
|
|
type Props = {|
|
|
children: React.Node,
|
|
|};
|
|
|
|
export default (props: Props) => {
|
|
const style = {
|
|
borderRadius: "4px",
|
|
background: theme.secondaryBackground,
|
|
margin: "1em 0",
|
|
padding: ".5em 1em",
|
|
};
|
|
|
|
return <div width="100%" style={style} {...props} />;
|
|
};
|