mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
UI ember engines (#6718)
Adds replication engine and core in-repo addon
This commit is contained in:
24
ui/lib/core/addon/components/empty-state.js
Normal file
24
ui/lib/core/addon/components/empty-state.js
Normal file
@@ -0,0 +1,24 @@
|
||||
import Component from '@ember/component';
|
||||
import layout from '../templates/components/empty-state';
|
||||
|
||||
/**
|
||||
* @module EmptyState
|
||||
* `EmptyState` components are used to render a helpful message and any necessary content when a user
|
||||
* encounters a state that would usually be blank.
|
||||
*
|
||||
* @example
|
||||
* ```js
|
||||
* <EmptyState @title="You don't have an secrets yet" @message="An explanation of why you don't have any secrets but also you maybe want to create one." />
|
||||
* ```
|
||||
*
|
||||
* @param title=null{String} - A short label for the empty state
|
||||
* @param message=null{String} - A description of why a user might be seeing the empty state and possibly instructions for actions they may take.
|
||||
*
|
||||
*/
|
||||
|
||||
export default Component.extend({
|
||||
layout,
|
||||
tagName: '',
|
||||
title: null,
|
||||
message: null,
|
||||
});
|
||||
Reference in New Issue
Block a user