@onesy/ui-react
Version:
UI for React
24 lines (23 loc) • 676 B
TypeScript
import React from 'react';
import { IPropsAny } from '../types';
import { ISurface } from '../Surface/Surface';
export declare type ICookieBanner = ISurface & {
name?: any;
description?: any;
startActions?: any;
endActions?: any;
onReject?: () => any;
onAllow?: () => any;
in?: boolean;
TransitionElement?: any;
noTransition?: boolean;
MainProps?: IPropsAny;
NameProps?: IPropsAny;
DescriptionProps?: IPropsAny;
ButtonProps?: IPropsAny;
RejectButtonProps?: IPropsAny;
AllowButtonProps?: IPropsAny;
TransitionProps?: IPropsAny;
};
declare const CookieBanner: React.FC<ICookieBanner>;
export default CookieBanner;