Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function ModuleAdapter(props) {
const { collapse, submodules } = sortChildren(
React.Children.toArray(props.children)
);
return (
{adapterProps => (
<div>
</div>
function TabsAdapter(props) {
return (
{adapterProps => (
<div>
</div>
function HelpAdapter(props) {
return (
{adapterProps => (
<div>
</div>
function ProfileAdapter(props) {
return (
{adapterProps => (
<div>
</div>
function TopNavAdapter(props) {
const {
notifications,
shortcut,
search,
profile,
help,
projectAccountSwitcher
} = sortChildren(React.Children.toArray(props.children));
return (
{adapterProps => (
<div>
</div>
function SearchAdapter(props) {
return (
{adapterProps => (
<div>
</div>
function TabsAdapter(props) {
return (
{adapterProps => (
<div>
{props.children}
</div>
)}
);
}
function ProjectAdapter(props) {
return (
{adapterProps => (
<div>
</div>
function ModuleAdapter(props) {
return (
{adapterProps => (
<div>
{(instance, value) =>
value ? instance.minimize() : instance.maximize()
}
</div>
function LinkAdapter(props) {
return (
{adapterProps => (
<div>
</div>