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

10 lines
441 B
TypeScript
Raw 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;