contact search and new amount editor

This commit is contained in:
Paul Miller
2023-11-16 23:37:29 -06:00
committed by Tony Giorgio
parent 077ccb2a63
commit bc2fbf9b2f
65 changed files with 2045 additions and 2483 deletions

View File

@@ -0,0 +1,24 @@
import { JSX } from "solid-js";
type SimpleInputProps = {
type?: "text" | "email" | "tel" | "password" | "url" | "date";
placeholder?: string;
value: string | undefined;
disabled?: boolean;
onInput: JSX.EventHandler<
HTMLInputElement | HTMLTextAreaElement,
InputEvent
>;
};
export function SimpleInput(props: SimpleInputProps) {
return (
<input
class="w-full rounded-lg bg-m-grey-750 p-2 placeholder-m-grey-400 disabled:text-m-grey-400"
type="text"
value={props.value}
onInput={(e) => props.onInput(e)}
placeholder={props.placeholder}
/>
);
}