Skip to content

Commit

Permalink
update 1.0 extension template
Browse files Browse the repository at this point in the history
  • Loading branch information
kvchari committed Dec 9, 2021
1 parent da7d625 commit d2a2b39
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {BaseElement} from './base-element';
import {PreactBaseElement} from '#preact/base-element';
__css_import__;
import {dict} from '#core/types/object';
import {isExperimentOn} from '#experiments';
Expand All @@ -7,7 +7,7 @@ import {userAssert} from '#utils/log';
/** @const {string} */
const TAG = 'amp-__component_name_hyphenated__';

class Amp__component_name_pascalcase__ extends BaseElement {
class Amp__component_name_pascalcase__ extends PreactBaseElement {
/** @override */
init() {
// __do_not_submit__: This is example code only.
Expand Down

0 comments on commit d2a2b39

Please sign in to comment.