mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
8d01fb5556
no issue - ran [ember-native-class-codemod](https://github.com/ember-codemods/ember-native-class-codemod) to convert the majority of remaining EmberObject based controllers and components to native class syntax using the `@classic` decorator - skipped older style modal components (`components/modal-*.js`) due to observed incompatibilities in some cases
9 lines
327 B
JavaScript
9 lines
327 B
JavaScript
import TextField from '@ember/component/text-field';
|
|
import TextInputMixin from 'ghost-admin/mixins/text-input';
|
|
import classic from 'ember-classic-decorator';
|
|
import {classNames} from '@ember-decorators/component';
|
|
|
|
@classic
|
|
@classNames('gh-input')
|
|
export default class GhTextInput extends TextField.extend(TextInputMixin) {}
|