Add category editor to servers.

This commit is contained in:
Paul
2021-07-24 19:39:41 +01:00
parent 3d6d95195e
commit dd4edea933
10 changed files with 242 additions and 54 deletions

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>