@afzalimdad9/react-alert
Version:
A simple react alert component
12 lines • 561 B
TypeScript
import React, { PropsWithChildren } from 'react';
import { positions } from './options';
export declare const getStyles: (position: keyof typeof positions) => React.CSSProperties;
interface WrapperProps {
options: {
position: keyof typeof positions;
containerStyle?: React.CSSProperties;
};
}
declare const Wrapper: ({ children, options: { position, containerStyle }, ...props }: PropsWithChildren<WrapperProps>) => false | "" | 0 | 0n | React.JSX.Element | null | undefined;
export default Wrapper;
//# sourceMappingURL=Wrapper.d.ts.map