UNPKG

baseui

Version:

A React Component library implementing the Base design language

15 lines (14 loc) 657 B
import * as React from 'react'; import { type BlockComponentType, type StyledBlockProps } from '../block/index'; import type { FlexGridProps } from './types'; export declare const BaseFlexGrid: BlockComponentType<"div">; interface FlexGridComponentType<D extends React.ElementType> { <C extends React.ElementType = D>(props: FlexGridProps<C> & (React.ComponentProps<C> extends { ref?: infer R; } ? { ref?: R; } : {}) & Omit<StyledBlockProps & React.ComponentProps<C>, keyof FlexGridProps>): JSX.Element; displayName?: string; } declare const FlexGridComponent: FlexGridComponentType<"div">; export default FlexGridComponent;