format code using prettier

This commit is contained in:
thislight 2024-08-05 15:33:00 +08:00
parent f06a7a6da1
commit 93b4cd065a
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E
27 changed files with 326 additions and 260 deletions

View file

@ -1,5 +1,5 @@
import { createEffect, type ParentComponent } from "solid-js";
import styles from './BottomSheet.module.css'
import styles from "./BottomSheet.module.css";
export type BottomSheetProps = {
open?: boolean;
@ -20,7 +20,11 @@ const BottomSheet: ParentComponent<BottomSheetProps> = (props) => {
}
});
return <dialog class={styles.bottomSheet} ref={element!}>{props.children}</dialog>;
return (
<dialog class={styles.bottomSheet} ref={element!}>
{props.children}
</dialog>
);
};
export default BottomSheet;