@atlaskit/side-navigation
Version:
A highly composable side navigation component that supports nested views.
30 lines (28 loc) • 1 kB
JavaScript
/* index.tsx generated by @compiled/babel-plugin v3.0.2 */
import "./index.compiled.css";
import * as React from 'react';
import { ax, ix } from "@compiled/react/runtime";
import { Box } from '@atlaskit/primitives/compiled';
var styles = {
navigationFooter: "_1e0c1ule _85i5u2gc _1q511ejb _y4tiu2gc _bozgu2gc"
};
/**
* @deprecated `@atlaskit/side-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
*/
/**
* __Navigation header__
*
* Allows for customisation of the header.
*
* - [Examples](https://atlassian.design/components/side-navigation/examples#header-and-footer)
* - [Code](https://atlassian.design/components/side-navigation/code)
*
* @deprecated `@atlaskit/side-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
*/
export var NavigationHeader = function NavigationHeader(props) {
var children = props.children;
return /*#__PURE__*/React.createElement(Box, {
xcss: styles.navigationFooter,
"data-navheader": true
}, children);
};