Files
twenty/packages/twenty-shared/src/front-component-constants/HtmlCommonProperties.ts
T
Raphaël Bosi d624652e36 [FRONT COMPONENTS] Build front components from twenty apps for remote dom (#17566)
Modify the front components build to match the expected format for
remote dom execution in a worker.
2026-01-30 14:09:08 +00:00

14 lines
587 B
TypeScript

import { type PropertySchema } from '../front-component/types/PropertySchema';
export const HTML_COMMON_PROPERTIES: Record<string, PropertySchema> = {
id: { type: 'string', optional: true },
className: { type: 'string', optional: true },
style: { type: 'string', optional: true },
title: { type: 'string', optional: true },
tabIndex: { type: 'number', optional: true },
role: { type: 'string', optional: true },
'aria-label': { type: 'string', optional: true },
'aria-hidden': { type: 'boolean', optional: true },
'data-testid': { type: 'string', optional: true },
};