mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-11 10:46:52 +00:00
19 lines
600 B
TypeScript
19 lines
600 B
TypeScript
import Component from '@glimmer/component';
|
|
import { DataModelEntity } from '@datahub/data-models/constants/entity';
|
|
import { ICustomSearchResultPropertyComponentLink } from '@datahub/data-models/types/search/custom-search-result-property-component/link';
|
|
|
|
/**
|
|
* Component to render external links
|
|
*/
|
|
export default class CustomSearchResultPropertyComponentSearchLink extends Component<{
|
|
/**
|
|
* The entity that we want to get the property from
|
|
*/
|
|
entity?: DataModelEntity;
|
|
|
|
/**
|
|
* Options for this component
|
|
*/
|
|
options?: ICustomSearchResultPropertyComponentLink['options'];
|
|
}> {}
|