MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / getActionColWidth

Function getActionColWidth

frontend/packages/common/src/utils/postcat.tsx:110–113  ·  view source on GitHub ↗
(actionButtonCount: number)

Source from the content-addressed store, hash-verified

108}
109
110export const getActionColWidth = (actionButtonCount: number) => {
111 if (actionButtonCount === 0) return 50
112 return actionButtonCount * 30 + 20
113}
114
115export function renderComponent(content: ReactNode | null | undefined, fallbackComponent: ReactNode): ReactNode | null {
116 if (content === null) return null

Callers 3

ValueEnumFunction · 0.90
MessageDataGridFunction · 0.90
TestMessageDataGridFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected