UNPKG

433 BTypeScriptView Raw
1import * as React from 'react';
2import { BsPrefixProps } from './helpers';
3export type AspectRatio = '1x1' | '4x3' | '16x9' | '21x9' | string;
4export interface RatioProps extends BsPrefixProps, React.HTMLAttributes<HTMLDivElement> {
5 children: React.ReactChild;
6 aspectRatio?: AspectRatio | number;
7}
8declare const Ratio: React.ForwardRefExoticComponent<RatioProps & React.RefAttributes<HTMLDivElement>>;
9export default Ratio;