chore: generate
This commit is contained in:
parent
9d7852b5c3
commit
b5dc6e670a
6 changed files with 84 additions and 31 deletions
|
|
@ -73,10 +73,7 @@ export function SessionComposerRegion(props: {
|
|||
bounce: props.dockCloseBounce ?? props.bounce ?? 0,
|
||||
},
|
||||
)
|
||||
const progress = useSpring(
|
||||
() => (open() ? 1 : 0),
|
||||
config,
|
||||
)
|
||||
const progress = useSpring(() => (open() ? 1 : 0), config)
|
||||
const value = createMemo(() => Math.max(0, Math.min(1, progress())))
|
||||
const [height, setHeight] = createSignal(320)
|
||||
const dock = createMemo(() => props.state.dock() || value() > 0.001)
|
||||
|
|
|
|||
|
|
@ -29,11 +29,7 @@ export function createSessionComposerBlocked() {
|
|||
})
|
||||
}
|
||||
|
||||
export function createSessionComposerState(
|
||||
options?: {
|
||||
closeMs?: number | (() => number)
|
||||
},
|
||||
) {
|
||||
export function createSessionComposerState(options?: { closeMs?: number | (() => number) }) {
|
||||
const params = useParams()
|
||||
const sdk = useSDK()
|
||||
const sync = useSync()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue