UNPKG

@crossed/ui

Version:

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

67 lines 2.96 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 { ComponentProps } from 'react'; import { CardRoot } from './Root'; import { CardGroup } from './Group'; declare const Card: import("react").ForwardRefExoticComponent<(Omit<{ pressable: true; } & { children?: import("react").ReactNode | undefined; } & { style?: import("@crossed/styled").CrossedMethods<any>; space?: null | keyof typeof import("../..").gapStyles; center?: boolean; justifyContent?: keyof typeof import("../..").justifyContentStyle; alignItems?: keyof typeof import("../..").alignItemsStyle; alignSelf?: keyof typeof import("../..").alignSelfStyle; } & Omit<import("react-native").PressableProps, "children" | "style"> & import("react").RefAttributes<import("react-native").View> & { size?: "auto" | "xs" | "sm" | "md" | "lg"; }, "ref"> | Omit<{ pressable?: never | false; } & { style?: import("@crossed/styled").CrossedMethods<any>; space?: null | keyof typeof import("../..").gapStyles; center?: boolean; justifyContent?: keyof typeof import("../..").justifyContentStyle; alignItems?: keyof typeof import("../..").alignItemsStyle; alignSelf?: keyof typeof import("../..").alignSelfStyle; } & Omit<import("react-native").ViewProps, "style"> & import("react").RefAttributes<import("react-native").View> & { size?: "auto" | "xs" | "sm" | "md" | "lg"; }, "ref">) & import("react").RefAttributes<unknown>> & { Title: { (props: ComponentProps<typeof import("../..").Headline>): import("react/jsx-runtime").JSX.Element; displayName: string; }; Description: { (props: import("../..").TextProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; Extra: { (props: import("../..").TextProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; Group: { ({ children }: import("react").PropsWithChildren): import("react").ReactNode[]; displayName: string; }; }; declare const CardTitle: { (props: ComponentProps<typeof import("../..").Headline>): import("react/jsx-runtime").JSX.Element; displayName: string; }, CardDescription: { (props: import("../..").TextProps): import("react/jsx-runtime").JSX.Element; displayName: string; }, CardExtra: { (props: import("../..").TextProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; type CardTitleProps = ComponentProps<typeof CardTitle>; type CardDescriptionProps = ComponentProps<typeof CardDescription>; type CardExtraProps = ComponentProps<typeof CardExtra>; type CardProps = ComponentProps<typeof CardRoot>; export { Card, CardTitle, CardDescription, CardExtra, CardGroup, type CardProps, type CardTitleProps, type CardDescriptionProps, type CardExtraProps, }; //# sourceMappingURL=index.d.ts.map