UNPKG

@crossed/ui

Version:

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

24 lines 1.3 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 { ButtonText, ButtonTextProps } from './Text'; import { Box as ButtonElement } from '../../layout/Box'; import { ButtonIcon } from './Icon'; export * from './styles'; export * from './types'; export declare const Button: import("react").ForwardRefExoticComponent<import("./types").ButtonProps & import("react").RefAttributes<import("react-native").View>> & { Text: import("react").ForwardRefExoticComponent<Omit<import("../..").TextProps, "ref"> & import("react").RefAttributes<import("react-native").Text>>; Element: import("react").ForwardRefExoticComponent<import("../../layout/Box").BoxPressableProps | import("../../layout/Box").BoxViewProps>; Icon: { ({ children, style, }: import("react").PropsWithChildren<{ style?: import("@crossed/styled").CrossedMethods<any>; }>): string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>; displayName: string; }; }; export { ButtonText, ButtonElement, ButtonIcon }; export type { ButtonTextProps }; //# sourceMappingURL=index.d.ts.map