style: invite co workers theming

This commit is contained in:
anmolsinghbhatia 2023-05-01 15:48:22 +05:30
parent 881fff20c1
commit ec63ce3b4d

View File

@ -56,7 +56,11 @@ export const MultiInput = ({ label, name, placeholder, setValue, watch }: any) =
{label && <label className="mb-2 text-brand-secondary">{label}</label>} {label && <label className="mb-2 text-brand-secondary">{label}</label>}
<div className="rounded-md border border-brand-base p-2"> <div className="rounded-md border border-brand-base p-2">
{watch(name)?.map((tag: any, index: number) => ( {watch(name)?.map((tag: any, index: number) => (
<button type="button" className="m-1.5 rounded-full bg-slate-300 p-1.5" key={index}> <button
type="button"
className="m-1.5 rounded-full bg-brand-surface-2 px-3 py-2 "
key={index}
>
{tag.email} <span onClick={() => removeTag(index)}>&times;</span> {tag.email} <span onClick={() => removeTag(index)}>&times;</span>
</button> </button>
))} ))}