2020-08-28 16:19:46 -07:00
|
|
|
import Component from '@glimmer/component';
|
2020-08-26 15:44:50 -07:00
|
|
|
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
|
|
|
|
*/
|
2020-08-28 16:19:46 -07:00
|
|
|
export default class CustomSearchResultPropertyComponentSearchLink extends Component<{
|
2020-08-26 15:44:50 -07:00
|
|
|
/**
|
|
|
|
* The entity that we want to get the property from
|
|
|
|
*/
|
|
|
|
entity?: DataModelEntity;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Options for this component
|
|
|
|
*/
|
|
|
|
options?: ICustomSearchResultPropertyComponentLink['options'];
|
2020-08-28 16:19:46 -07:00
|
|
|
}> {}
|