Add category editor to servers.

This commit is contained in:
Paul committed 2021-07-24 19:39:41 +01:00
1 parent 71020e6e8c
commit 8c6947f7d4
10 files changed
+242 -54

No files matched your search

+5 -3
View File
@@ -55,11 +55,13 @@ export const TipBase = styled.div<Props>`
`}
`;
export default function Tip(props: Props & { children: Children }) {
const { children, ...tipProps } = props;
export default function Tip(
props: Props & { children: Children; hideSeparator?: boolean },
) {
const { children, hideSeparator, ...tipProps } = props;
return (
<>
<Separator />
{!hideSeparator && <Separator />}
<TipBase {...tipProps}>
<InfoCircle size={20} />
<span>{props.children}</span>