forked from abner/for-legacy-web
Add category editor to servers.
This commit is contained in:
1 parent
71020e6e8c
commit
8c6947f7d4
10 files changed
+242
-54
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user