MCPcopy Index your code
hub / github.com/react-grid-layout/react-grid-layout / perc

Function perc

src/core/position.ts:77–79  ·  view source on GitHub ↗
(num: number)

Source from the content-addressed store, hash-verified

75 * @returns Percentage string (e.g., "50%")
76 */
77export function perc(num: number): string {
78 return num * 100 + "%";
79}
80
81// ============================================================================
82// Resize Direction Handling

Callers 2

GridItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…