Rename Toggle component to Details
It's much more like a details / disclosure view you can expand than a typically toggle switch.
This commit is contained in:
@@ -63,7 +63,7 @@ const InviteTile: React.FC<IProps> = ({ children, client, link }: IProps) => {
|
||||
break;
|
||||
}
|
||||
|
||||
const advancedToggle = (
|
||||
const advancedButton = (
|
||||
<p>
|
||||
{inviteUseString}
|
||||
<TextButton
|
||||
@@ -77,7 +77,7 @@ const InviteTile: React.FC<IProps> = ({ children, client, link }: IProps) => {
|
||||
invite = (
|
||||
<>
|
||||
{invite}
|
||||
{advancedToggle}
|
||||
{advancedButton}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user