MCPcopy Create free account
hub / github.com/triggerdotdev/trigger.dev / getConfig

Method getConfig

packages/cli-v3/src/utilities/ink-table.tsx:55–64  ·  view source on GitHub ↗

* Merges provided configuration with defaults.

()

Source from the content-addressed store, hash-verified

53 * Merges provided configuration with defaults.
54 */
55 getConfig(): TableProps<T> {
56 return {
57 data: this.props.data,
58 columns: this.props.columns || this.getDataKeys(),
59 padding: this.props.padding || 1,
60 header: this.props.header || Header,
61 cell: this.props.cell || Cell,
62 skeleton: this.props.skeleton || Skeleton,
63 };
64 }
65
66 /**
67 * Gets all keyes used in data by traversing through the data.

Callers 3

getColumnsMethod · 0.95
getHeadingsMethod · 0.95
TableClass · 0.95

Calls 1

getDataKeysMethod · 0.95

Tested by

no test coverage detected