-
Group name
-
setName(e.target.value || '')}
diff --git a/web/components/input.tsx b/web/components/input.tsx
new file mode 100644
index 00000000..f37bfc78
--- /dev/null
+++ b/web/components/input.tsx
@@ -0,0 +1,22 @@
+import clsx from 'clsx'
+import React from 'react'
+
+/** Text input. Wraps html `
` */
+export const Input = (props: JSX.IntrinsicElements['input']) => {
+ const { className, ...rest } = props
+
+ return (
+
+ )
+}
+
+/*
+ TODO: replace daisyui style with our own. For reference:
+
+ james: text-lg placeholder:text-gray-400
+ inga: placeholder:text-greyscale-4 border-greyscale-2 rounded-md
+ austin: border-gray-300 text-gray-400 focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm
+ */
diff --git a/web/components/manalinks/create-links-button.tsx b/web/components/manalinks/create-links-button.tsx
index 449d6c76..8d5bac67 100644
--- a/web/components/manalinks/create-links-button.tsx
+++ b/web/components/manalinks/create-links-button.tsx
@@ -7,12 +7,13 @@ import { User } from 'common/user'
import { ManalinkCard, ManalinkInfo } from 'web/components/manalink-card'
import { createManalink } from 'web/lib/firebase/manalinks'
import { Modal } from 'web/components/layout/modal'
-import Textarea from 'react-expanding-textarea'
import dayjs from 'dayjs'
import { Button } from '../button'
import { getManalinkUrl } from 'web/pages/links'
import { DuplicateIcon } from '@heroicons/react/outline'
import { QRCode } from '../qr-code'
+import { Input } from '../input'
+import { ExpandingInput } from '../expanding-input'
export function CreateLinksButton(props: {
user: User
@@ -120,8 +121,8 @@ function CreateManalinkForm(props: {
M$
-
-
+ />
@@ -165,10 +165,9 @@ function CreateManalinkForm(props: {