This commit is contained in:
Luke Vella 2022-05-09 08:21:53 +01:00 committed by GitHub
parent 1d7bcddf1b
commit 5c991d7011
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
83 changed files with 2463 additions and 1178 deletions

View file

@ -1,7 +1,7 @@
import clsx from "clsx";
import * as React from "react";
import UserAvater from "./poll/user-avatar";
import UserAvatar from "./poll/user-avatar";
interface NameInputProps
extends React.DetailedHTMLProps<
@ -18,7 +18,7 @@ const NameInput: React.ForwardRefRenderFunction<
> = ({ value, defaultValue, className, ...forwardProps }, ref) => {
return (
<div className="relative flex items-center">
<UserAvater
<UserAvatar
name={value ?? defaultValue ?? ""}
className="absolute left-2"
/>