UNPKG

1.23 kBTypeScriptView Raw
1import * as React from 'react';
2export interface BrandProps extends React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> {
3 /** Transforms the Brand into a <picture> element from an <img> element. Container for <source> child elements. */
4 children?: React.ReactNode;
5 /** Additional classes added to the either type of Brand. */
6 className?: string;
7 /** Attribute that specifies the URL of a <img> Brand. For a <picture> Brand this specifies the fallback <img> URL. */
8 src?: string;
9 /** Attribute that specifies the alt text of a <img> Brand. For a <picture> Brand this specifies the fallback <img> alt text. */
10 alt: string;
11 /** Widths at various breakpoints for a <picture> Brand. */
12 widths?: {
13 default?: string;
14 sm?: string;
15 md?: string;
16 lg?: string;
17 xl?: string;
18 '2xl'?: string;
19 };
20 /** Heights at various breakpoints for a <picture> Brand. */
21 heights?: {
22 default?: string;
23 sm?: string;
24 md?: string;
25 lg?: string;
26 xl?: string;
27 '2xl'?: string;
28 };
29}
30export declare const Brand: React.FunctionComponent<BrandProps>;
31//# sourceMappingURL=Brand.d.ts.map
\No newline at end of file