UNPKG

react-tailwind-component-library

Version:
32 lines 967 B
import React from 'react'; declare const bannerVariants: readonly ["default", "success", "danger", "info", "warning", "brand", "dark"]; declare const bannerSizes: readonly ["default", "compact"]; export interface BannerProps extends React.ComponentPropsWithoutRef<'div'> { /** * Defines the styles used for the Banner */ variant?: typeof bannerVariants[number]; /** * Defines the size for the Banner */ size?: typeof bannerSizes[number]; /** * Defines the title for the banner */ title: string; /** * Defines the string content for the banner */ content: string; /** * Defines whether the banner is rounded */ rounded?: boolean; /** * Attributes to Cypress integration */ 'data-cy'?: string; } declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<HTMLDivElement>>; export default Banner; //# sourceMappingURL=Banner.d.ts.map