From d34793a5975160dcc219d76951ec476845d97b6e Mon Sep 17 00:00:00 2001 From: Elvy <88881326+EepyElvyra@users.noreply.github.com> Date: Tue, 28 Jan 2025 19:30:21 +0100 Subject: [PATCH] make it fancier --- src/components/SearchModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SearchModal.tsx b/src/components/SearchModal.tsx index 647e1725e..d72075906 100644 --- a/src/components/SearchModal.tsx +++ b/src/components/SearchModal.tsx @@ -156,7 +156,7 @@ function searchTypeToText(type: SearchType) { * * @param {SearchModalProps} props - The props for the SearchModal component. * @param {ModalProps} props.modalProps - The modal props. You get these from the `openModal` function. - * @param {function} props.onSubmit - The function to call when the user submits their selection. + * @param {function} props.onSubmit - Callback function invoked when the user submits their selection. * @param {string} [props.input] - The initial input value for the search bar. * @param {SearchType} [props.searchType="ALL"] - The type of items to search for. * @param {string} [props.subText] - Additional text to display below the heading.