UNPKG

@crossed/ui

Version:

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

27 lines 921 B
/** * 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 { KeyboardEventHandler, PropsWithChildren } from 'react'; import { CrossedMethods } from '@crossed/styled'; export declare const modalStyles: { content: CrossedMethods<{ base: { zIndex: number; borderRadius: number; backgroundColor: "white" | "#1D1D40"; paddingVertical: 32; margin: "auto"; }; }>; }; export type ModalOnKeyDown = KeyboardEventHandler<HTMLButtonElement>; export declare const useKeyDown: (keyEvent: any, { enable }: any) => void; type ModalContentProps = PropsWithChildren<{ style?: CrossedMethods<any>; }>; export declare const ModalContent: import("react").NamedExoticComponent<ModalContentProps>; export {}; //# sourceMappingURL=Content.d.ts.map