UNPKG

baseui

Version:

A React Component library implementing the Base design language

14 lines (13 loc) 606 B
import * as React from 'react'; import { type StyledBlockProps } from '../block'; import type { AspectRatioBoxProps } from './types'; interface AspectRatioCoxComponentType<D extends React.ElementType> { <C extends React.ElementType = D>(props: AspectRatioBoxProps<C> & (React.ComponentProps<C> extends { ref?: infer R; } ? { ref?: R; } : {}) & Omit<StyledBlockProps & React.ComponentProps<C>, keyof AspectRatioBoxProps>): JSX.Element; displayName?: string; } declare const AspectRatioBoxComponent: AspectRatioCoxComponentType<"div">; export default AspectRatioBoxComponent;