Skip to content

Instantly share code, notes, and snippets.

Avatar

Om Shankar OmShiv

View GitHub Profile
@OmShiv
OmShiv / components.component-five.js
Created Jun 9, 2018 — forked from neborn/components.component-five.js
Inheritance and Complex Types in Definitions
View components.component-five.js
import ComponentOne from './component-one';
import ComponentA from '../mixins/component-a';
export default ComponentOne.extend(ComponentA, {
type: 'Component Five',
description: 'Extends Component One and includes Component A. Overrides obj in definition.',
obj: {
val: 5
}
});
You can’t perform that action at this time.