@redocly/theme
Version:
Shared UI components lib
28 lines (27 loc) • 1.18 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DocumentationLayoutBottom = DocumentationLayoutBottom;
const react_1 = __importDefault(require("react"));
const styled_components_1 = __importDefault(require("styled-components"));
const PageNavigation_1 = require("../components/PageNavigation/PageNavigation");
function DocumentationLayoutBottom({ feedback, nextPage, prevPage, }) {
return (react_1.default.createElement(Wrapper, { "data-component-name": "Layout/DocumentationLayoutBottom" },
react_1.default.createElement(LayoutBottom, null, feedback),
react_1.default.createElement(PageNavigation_1.PageNavigation, { nextPage: nextPage, prevPage: prevPage })));
}
const Wrapper = styled_components_1.default.div `
display: flex;
flex-direction: column;
`;
const LayoutBottom = styled_components_1.default.div `
display: flex;
justify-content: space-between;
flex-flow: row nowrap;
> * {
margin: 25px 0;
}
`;
//# sourceMappingURL=DocumentationLayoutBottom.js.map