We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fecbcf commit 58fc946Copy full SHA for 58fc946
src/index.ts
@@ -66,7 +66,9 @@ function createStore({
66
}
67
68
69
-export function useBottomSheetMachine(props: BottomSheetMachineProps = {}) {
+export const useBottomSheetMachine = function useBottomSheetMachine(
70
+ props: BottomSheetMachineProps = {}
71
+) {
72
const [store] = useState(() => createStore(props))
73
/*
74
// useState lets us create the store exactly once, which is a guarantee that useMemo doesn't provide
0 commit comments