UNPKG

@crossed/ui

Version:

A universal & performant styling library for React Native, Next.js & React

23 lines 1.22 kB
/** * Copyright (c) Paymium. * * This source code is licensed under the MIT license found in the * LICENSE file in the root of this projects source tree. */ import { PropsWithChildren } from 'react'; import { AnimatedScrollViewProps } from 'react-native-reanimated'; type UseLogicParam = PropsWithChildren<{ stickyFooter?: boolean; } & Pick<AnimatedScrollViewProps, 'onLayout' | 'onContentSizeChange'>>; export declare const useLogic: ({ children, stickyFooter, ...props }: UseLogicParam) => { paddingRight: number; title: string | number | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>; body: string | number | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>; renderFooter: () => import("react/jsx-runtime").JSX.Element; onLayout: (e: any) => void; onContentSizeChange: (w: any, h: any) => void; footer: string | number | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>; showFooter: boolean; }; export {}; //# sourceMappingURL=useLogic.d.ts.map