mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-11 10:46:52 +00:00

* frontend - Module consolidation for some test modules and reduces errors from unsupported API calls * Fix broken test
19 lines
697 B
TypeScript
19 lines
697 B
TypeScript
import Component from '@glimmer/component';
|
|
import { DataModelEntity } from '@datahub/data-models/constants/entity';
|
|
|
|
interface IDynamicComponentsEntityFieldArgs {
|
|
// The related entity to this dynamic component
|
|
entity: DataModelEntity;
|
|
options: {
|
|
className: string;
|
|
// Intended to be the field of the entity by key that we want to render the field value for
|
|
fieldName: string;
|
|
};
|
|
}
|
|
|
|
/**
|
|
* The intention of this component is to, given an entity that is presumably passed in and a field name, to render the
|
|
* field or yield that value in a render props friendly way
|
|
*/
|
|
export default class DynamicComponentsEntityField extends Component<IDynamicComponentsEntityFieldArgs> {}
|