Files
twenty/packages/twenty-sdk/scripts/remote-dom/generators/utils/event-to-react-prop.ts
T
Raphaël BosiandGitHub f0bc9fcb43 [FRONT COMPONENTS] Move to twenty-sdk (#17587)
Move front components from twenty-shared to twenty-sdk
2026-02-02 12:21:53 +00:00

4 lines
140 B
TypeScript

export const eventToReactProp = (eventName: string): string => {
return `on${eventName.charAt(0).toUpperCase()}${eventName.slice(1)}`;
};