@logicflow/dumi-theme-simple
Version:
Simple website theme based on dumi2.
27 lines (26 loc) • 725 B
TypeScript
import React from 'react';
import { NotificationProps } from './Notification';
import 'video-react/dist/video-react.css';
type BannerButtonShape = 'round' | 'square';
interface BannerButton {
text: string;
link: string;
style?: React.CSSProperties;
type?: string;
shape?: BannerButtonShape;
}
interface BannerProps {
coverImage?: React.ReactNode;
title: string;
description: string;
notifications?: NotificationProps[];
style?: React.CSSProperties;
className?: string;
video?: string;
showGithubStars?: boolean;
buttons?: BannerButton[];
onCloseVideo?: () => void;
onPlayVideo?: () => void;
}
declare const Banner: React.FC<BannerProps>;
export default Banner;