UNPKG

@logicflow/dumi-theme-simple

Version:
27 lines (26 loc) 725 B
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;