@knapsack/app
Version:
Build Design Systems on top of knapsack, by Basalt
32 lines (30 loc) • 1.16 kB
TypeScript
/**
* Copyright (C) 2018 Basalt
This file is part of Knapsack.
Knapsack is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.
Knapsack is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along
with Knapsack; if not, see <https://www.gnu.org/licenses>.
*/
import React from 'react';
import './page-with-sidebar.scss';
declare type Props = {
/**
* Slot for navigation on the left
*/
sidebar?: React.ReactNode;
/**
* Slot for details on a page, aka the rigth sidebar
*/
slottedDetails?: React.ReactNode;
children: React.ReactNode;
};
declare const PageWithSidebar: React.FC<Props>;
export default PageWithSidebar;
//# sourceMappingURL=page-with-sidebar.d.ts.map