typr
typr copied to clipboard
move the reset function from the TextInput component
currently the reset functionality is all over the place. move it to somewhere central like a utils file or something.
maybe create a reset button component. or move it to the index.svelte. a utility file would not be a good solution I guess. because all components have some sort of reset function that needs to get triggered. I have no good idea yet