Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
22 lines
605 B
Plaintext
22 lines
605 B
Plaintext
import type { MouseEvent } from 'react';
|
|
import React from 'react';
|
|
import './index.scss';
|
|
type onClick = (event: MouseEvent) => void;
|
|
export type Props = Readonly<{
|
|
alignIcon?: 'left' | 'right';
|
|
children?: React.ReactNode;
|
|
className?: string;
|
|
icon?: React.ReactNode;
|
|
onClick?: onClick;
|
|
to?: string;
|
|
type?: 'default' | 'error' | 'info' | 'success';
|
|
}>;
|
|
export type RenderedTypeProps = {
|
|
children?: React.ReactNode;
|
|
className?: string;
|
|
onClick?: onClick;
|
|
to: string;
|
|
};
|
|
export declare const Banner: React.FC<Props>;
|
|
export {};
|
|
//# sourceMappingURL=index.d.ts.map |