import { kebabCase } from '@/cli/utilities/string/kebab-case'; import { v4 } from 'uuid'; export const getFrontComponentBaseFile = ({ name, universalIdentifier = v4(), }: { name: string; universalIdentifier?: string; }) => { const kebabCaseName = kebabCase(name); return `import { defineFrontComponent } from 'twenty-sdk/define'; // React component - implement your UI here const Component = () => { return (
This is your front component: ${kebabCaseName}