安装@yrobot/react-mobile-table yarn add @yrobot/react-mobile-table 引入组件并使用 import MobileTable from '@yrobot/react-mobile-table'; import '@yrobot/react-mobile-table/lib/index.css'; const data = [ ['ID', 'Name', 'Age', 'Address'], // title line ['1', 'John Brown', 32, '...
我们最终的目标是希望 Mobile Vue 和 Mobile React可以共用一套样式文件、一套示例文档。目前 Mobile Vue 端已发布Stable版本,因此在做组件升级时,我们需要和 Mobile Vue端的同名组件保持一样的 DOM结构,以复用一套样式,组件示例文件命名也应和 Mobile Vue 端命名保持一致,以复用一套示例文档。 开发指引 mobile ...
A clean, composable, mobile-friendly table library for React Really? Another React table library 😐? Wait! Before you dismiss this one, hear me out. A lot of React "table" implementations function more or less like a data-grid spreadsheet-like components with several features like editing, ...