UNPKG

@retriever-ui/layout

Version:

Componentes para gerenciar as estruturas de layout.

11 lines (10 loc) 566 B
import { GridProps, StylesProps, TypographyProps } from '@retriever-ui/system'; import { HTMLRetriever } from '@retriever-ui/system/lib/retriever'; import React from 'react'; declare type RetrieverProps = Omit<StylesProps, 'as' | 'd' | 'display' | keyof TypographyProps | keyof GridProps> & HTMLRetriever<'div'>; export interface FlexProps extends RetrieverProps { children?: React.ReactNode; direction?: FlexProps['flexDirection']; } declare const Flex: React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTMLDivElement>>; export default Flex;