-
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..b2fc1f11 100644
--- a/web/components/manalinks/create-links-button.tsx
+++ b/web/components/manalinks/create-links-button.tsx
@@ -13,6 +13,7 @@ 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'
export function CreateLinksButton(props: {
user: User
@@ -120,8 +121,8 @@ function CreateManalinkForm(props: {
M$
-
-
+ />
diff --git a/web/components/number-input.tsx b/web/components/number-input.tsx
index 0b48df6e..6509a5d7 100644
--- a/web/components/number-input.tsx
+++ b/web/components/number-input.tsx
@@ -4,6 +4,7 @@ import { ReactNode } from 'react'
import React from 'react'
import { Col } from './layout/col'
import { Spacer } from './layout/spacer'
+import { Input } from './input'
export function NumberInput(props: {
numberString: string
@@ -32,9 +33,9 @@ export function NumberInput(props: {
return (