@crossed/primitive
Version:
A universal & performant styling library for React Native, Next.js & React
15 lines • 765 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 { ComponentType } from 'react';
import type { TextProps as NTextProps } from 'react-native';
export declare const createBadge: <BadgeProps extends Record<string, any>, TextProps extends NTextProps>(components: {
Root: ComponentType<BadgeProps>;
Text: ComponentType<TextProps>;
}) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<BadgeProps> & import("react").RefAttributes<any>> & {
Text: import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<TextProps> & import("react").RefAttributes<any>>;
};
//# sourceMappingURL=index.d.ts.map