@styleless-ui/react
Version:
Completely unstyled, headless and accessible React UI components.
14 lines (13 loc) • 327 B
TypeScript
import * as React from "react";
export interface Props {
/**
* The content of the component.
*/
children?: React.ReactNode;
/**
* The ratio which needs to be preserved.
*/
ratio: number;
}
declare const PreserveAspectRatio: (props: Props) => JSX.Element;
export default PreserveAspectRatio;