@crossed/ui
Version:
A universal & performant styling library for React Native, Next.js & React
14 lines • 508 B
TypeScript
/**
* 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 { type PropsWithChildren, type ReactNode } from 'react';
import { useMedia } from '../useMedia';
export type AdaptProps = PropsWithChildren<{
fallback?: ReactNode;
size?: keyof ReturnType<typeof useMedia>;
}>;
export declare const Adapt: ({ children, size, fallback, }: AdaptProps) => ReactNode;
//# sourceMappingURL=Adapt.d.ts.map