513c2fb4a7
Actualiza schema rápido, ejemplo FTS5, sección de añadir funciones y los tres templates (function, pipeline, component) con los campos params/output obligatorios.
1.2 KiB
1.2 KiB
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, output, tested, tests, test_file_path, file_path, props, emits, has_state, framework, variant
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | output | tested | tests | test_file_path | file_path | props | emits | has_state | framework | variant | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DataTable | component | typescript | core | 1.0.0 | impure | DataTable<T>(props: { data: T[]; columns: ColumnDef<T>[]; onRowClick?: (row: T) => void }): JSX.Element | Tabla de datos generica con soporte para columnas configurables y click en fila. |
|
false |
|
tabla HTML interactiva con los datos renderizados según las columnas | false | frontend/functions/ui/data_table.tsx |
|
|
true | react |
|
Ejemplo
<DataTable data={users} columns={cols} onRowClick={handleClick} />
Notas
Componente con estado interno para manejar seleccion y scroll.