MCPcopy
hub / github.com/plotly/dash / resolveStyle

Function resolveStyle

components/dash-table/src/dash-table/derived/style/index.ts:157–165  ·  view source on GitHub ↗
(styles: IConvertedStyle[])

Source from the content-addressed store, hash-verified

155);
156
157export function resolveStyle(styles: IConvertedStyle[]): CSSProperties {
158 const res: CSSProperties = {};
159
160 for (let i = 0; i < styles.length; ++i) {
161 Object.assign(res, styles[i].style);
162 }
163
164 return R.omit(BORDER_PROPERTIES_AND_FRAGMENTS as any, res);
165}
166
167export const getDataCellStyle =
168 (

Callers 6

getDataCellStyleFunction · 0.85
getDataOpCellStyleFunction · 0.85
getFilterCellStyleFunction · 0.85
getFilterOpCellStyleFunction · 0.85
getHeaderCellStyleFunction · 0.85
getHeaderOpCellStyleFunction · 0.85

Calls 1

assignMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…