Usernames: Create/update/delete in profile editor

This commit is contained in:
Scott Nonnenberg
2021-11-01 12:13:35 -07:00
committed by GitHub
parent a9cb621eb6
commit 3190f95fac
38 changed files with 923 additions and 89 deletions

View File

@@ -18,6 +18,7 @@ export type PropsType = {
label: string;
onClick: () => unknown;
};
style?: React.CSSProperties;
};
export const Toast = memo(
@@ -27,6 +28,7 @@ export const Toast = memo(
className,
disableCloseOnClick = false,
onClose,
style,
timeout = 8000,
toastAction,
}: PropsType): JSX.Element | null => {
@@ -77,6 +79,7 @@ export const Toast = memo(
}}
role="button"
tabIndex={0}
style={style}
>
<div className="Toast__content">{children}</div>
{toastAction && (