28 lines
831 B
TypeScript
28 lines
831 B
TypeScript
// Metro module 10900 (f10901).
|
|
import { create } from "../../../_bundle/Module644";
|
|
import { batchUpdates } from "../../../_bundle/Module705";
|
|
let c7338_2 = create(() => ({
|
|
collapsedHeight: 0,
|
|
expandedHeight: 0
|
|
}));
|
|
export { c7338_2 as useMessagePreviewHeightStore };
|
|
export function useMessagePreviewCollapsedheight() {
|
|
return c7338_2().collapsedHeight;
|
|
}
|
|
export function useMessagePreviewExpandedHeight() {
|
|
return c7338_2().expandedHeight;
|
|
}
|
|
export function setMesssagePreviewHeight(c18348_0) {
|
|
batchUpdates(() => c7338_2.setState(c18348_0));
|
|
}
|
|
export function setMesssagePreviewCollapsedHeight(collapsedHeight) {
|
|
batchUpdates(() => c7338_2.setState({
|
|
collapsedHeight
|
|
}));
|
|
}
|
|
export function setMesssagePreviewExpandedHeight(expandedHeight) {
|
|
batchUpdates(() => c7338_2.setState({
|
|
expandedHeight
|
|
}));
|
|
}
|