UNPKG

@douyinfe/semi-ui

Version:

A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.

9 lines (8 loc) 243 B
import React from 'react'; import { ColumnProps } from './interface'; /** * Convert jsx children into object columns * @param {Node} children * @returns */ export default function getColumns(children: React.ReactNode): ColumnProps<any>[];