GoScrobble/web/node_modules/react-bootstrap/esm/Ratio.d.ts

10 lines
441 B
TypeScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import * as React from 'react';
import { BsPrefixProps } from './helpers';
export declare type AspectRatio = '1x1' | '4x3' | '16x9' | '21x9' | string;
export interface RatioProps extends BsPrefixProps, React.HTMLAttributes<HTMLDivElement> {
children: React.ReactChild;
aspectRatio?: AspectRatio | number;
}
declare const Ratio: React.ForwardRefExoticComponent<RatioProps & React.RefAttributes<HTMLDivElement>>;
export default Ratio;