f0bc9fcb43
Move front components from twenty-shared to twenty-sdk
4 lines
140 B
TypeScript
4 lines
140 B
TypeScript
export const eventToReactProp = (eventName: string): string => {
|
|
return `on${eventName.charAt(0).toUpperCase()}${eventName.slice(1)}`;
|
|
};
|