antd
Version:
An enterprise-class UI design language and React components implementation
13 lines (12 loc) • 492 B
TypeScript
import * as React from 'react';
import { SizeType } from '../config-provider/SizeContext';
export interface ItemProps {
className: string;
children: React.ReactNode;
index: number;
direction?: 'horizontal' | 'vertical';
size?: SizeType | number;
marginDirection: 'marginLeft' | 'marginRight';
split?: string | React.ReactNode;
}
export default function Item({ className, direction, index, size, marginDirection, children, split, }: ItemProps): JSX.Element | null;