@404pagez/react
Version:
This is templates of 404page for React
50 lines (44 loc) • 1.5 kB
TypeScript
/// <reference types="react" />
interface Simple404Props {
size: number;
onButtonClick?: any;
isButton?: boolean;
buttonLabel?: string;
buttonColor?: string;
}
declare const Simple404: ({ size, onButtonClick, isButton, buttonLabel, buttonColor, }: Simple404Props) => JSX.Element;
interface Warning404Props {
size: number;
onButtonClick?: any;
isButton?: boolean;
buttonLabel?: string;
color?: string;
buttonColor?: string;
}
declare const Warning404: ({ size, onButtonClick, isButton, buttonLabel, buttonColor, color, }: Warning404Props) => JSX.Element;
interface Section404Props {
size: number;
onButtonClick?: any;
isButton?: boolean;
buttonLabel?: string;
buttonColor?: string;
color?: string;
}
declare const Section404: ({ size, onButtonClick, isButton, buttonLabel, buttonColor, color, }: Section404Props) => JSX.Element;
interface Cat404Props {
size: number;
onButtonClick?: any;
isButton?: boolean;
buttonLabel?: string;
buttonColor?: string;
}
declare const Cat404: ({ size, onButtonClick, isButton, buttonLabel, buttonColor, }: Cat404Props) => JSX.Element;
interface Blocked404Props {
size: number;
onButtonClick?: any;
isButton?: boolean;
buttonLabel?: string;
buttonColor?: string;
}
declare const Blocked404: ({ size, onButtonClick, isButton, buttonLabel, buttonColor, }: Blocked404Props) => JSX.Element;
export { Blocked404, Cat404, Section404, Simple404, Warning404 };