mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-28 20:09:59 +00:00
20 lines
552 B
TypeScript
20 lines
552 B
TypeScript
![]() |
import Component from '@ember/component';
|
||
|
// @ts-ignore: Ignore import of compiled template
|
||
|
import template from '../templates/components/empty-state';
|
||
|
import { layout, classNames } from '@ember-decorators/component';
|
||
|
|
||
|
@layout(template)
|
||
|
@classNames('empty-state')
|
||
|
export default class EmptyState extends Component {
|
||
|
/**
|
||
|
* Default heading for the empty state component
|
||
|
* @type {string}
|
||
|
*/
|
||
|
heading: string = 'No data found';
|
||
|
|
||
|
/**
|
||
|
* Sub heading text rendered beneath the empty state call to action if present
|
||
|
*/
|
||
|
subHead?: string;
|
||
|
}
|