mostly finished rewrite
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
import * as React from 'react';
|
||||
import { BsPrefixProps } from './helpers';
|
||||
export type AspectRatio = '1x1' | '4x3' | '16x9' | '21x9' | string;
|
||||
export interface RatioProps extends BsPrefixProps, React.HTMLAttributes<HTMLDivElement> {
|
||||
children: React.ReactElement | string | number;
|
||||
aspectRatio?: AspectRatio | number;
|
||||
}
|
||||
declare const Ratio: React.ForwardRefExoticComponent<RatioProps & React.RefAttributes<HTMLDivElement>>;
|
||||
export default Ratio;
|
||||
Reference in New Issue
Block a user