UNPKG

@tantainnovative/ndpr-toolkit

Version:

Nigerian Data Protection Compliance Toolkit for implementing NDPR and DPA compliant features

30 lines 881 B
import React, { ReactNode } from 'react'; import { BannerProps } from './ConsentManager'; export interface ConsentBannerProps { renderBanner?: (props: BannerProps) => ReactNode; theme?: { primaryColor?: string; textColor?: string; backgroundColor?: string; }; position?: 'top' | 'bottom' | 'center'; animation?: 'slide' | 'fade' | 'none'; fullWidth?: boolean; maxWidth?: string; unstyled?: boolean; className?: string; children?: ReactNode; } interface ConsentBannerComponent extends React.FC<ConsentBannerProps> { Message: React.FC<{ children: ReactNode; className?: string; }>; Actions: React.FC<{ children: ReactNode; className?: string; }>; } declare const ConsentBanner: ConsentBannerComponent; export { ConsentBanner }; //# sourceMappingURL=ConsentBanner.d.ts.map