UNPKG

@crossed/ui

Version:

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

29 lines 1 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 { KeyboardEventHandler, PropsWithChildren } from 'react'; import { CrossedMethods } from '@crossed/styled'; import { ContentProps } from '../Sheet/Content'; 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>; sheetProps?: ContentProps; }>; export declare const ModalContent: import("react").NamedExoticComponent<ModalContentProps>; export {}; //# sourceMappingURL=Content.d.ts.map