antd/lib/table#TableProps TypeScript Examples
The following examples show how to use
antd/lib/table#TableProps.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: index.tsx From next-basics with GNU General Public License v3.0 | 6 votes |
/**
* @kind {
* x?: string | number | true;
* y?: number | string;
* } & {
* scrollToFirstRowOnChange?: boolean;
* }
* @required false
* @default { x: true }
* @description 表格是否可滚动,也可以指定滚动区域的宽、高,配置项。详见 https://ant.design/components/table-cn/#scroll
* @group advanced
*/
@property({
attribute: false,
})
scrollConfigs: TableProps<unknown>["scroll"] = { x: true };
Example #2
Source File: index.tsx From next-basics with GNU General Public License v3.0 | 6 votes |
/**
* @kind {
* x?: string | number | true;
* y?: number | string;
* } & {
* scrollToFirstRowOnChange?: boolean;
* }
* @required false
* @default { x: true }
* @description 表格是否可滚动,也可以指定滚动区域的宽、高,配置项。详见 https://ant.design/components/table-cn/#scroll
* @group advanced
*/
@property({
attribute: false,
})
scrollConfigs: TableProps<unknown>["scroll"] = { x: true };