This commit is contained in:
Tom Moor
2021-10-21 21:23:58 -07:00
parent 63c0daf483
commit c79a22b857
6 changed files with 18 additions and 9 deletions

View File

@@ -112,7 +112,6 @@ function Collections({ onCreateCollection }: Props) {
<SidebarLink
label={t("Collections")}
icon={<Disclosure expanded={expanded} color="currentColor" />}
disabled
/>
<PlaceholderCollections />
</Flex>

View File

@@ -27,7 +27,7 @@ const joinClassnames = (...classnames) => {
return classnames.filter((i) => i).join(" ");
};
type Props = {|
export type Props = {|
activeClassName?: String,
activeStyle?: Object,
className?: string,

View File

@@ -4,15 +4,15 @@ import * as React from "react";
import styled, { useTheme } from "styled-components";
import breakpoint from "styled-components-breakpoint";
import EventBoundary from "components/EventBoundary";
import NavLink from "./NavLink";
import NavLink, { type Props as NavLinkProps } from "./NavLink";
type Props = {|
...NavLinkProps,
to?: string | Object,
href?: string | Object,
innerRef?: (?HTMLElement) => void,
onClick?: (SyntheticEvent<>) => void,
onClick?: (SyntheticEvent<>) => mixed,
onMouseEnter?: (SyntheticEvent<>) => void,
className?: string,
children?: React.Node,
icon?: React.Node,
label?: React.Node,
@@ -20,7 +20,6 @@ type Props = {|
showActions?: boolean,
active?: boolean,
isActiveDrop?: boolean,
exact?: boolean,
depth?: number,
scrollIntoViewIfNeeded?: boolean,
|};