Closed codewithkyle closed 5 years ago
Module classes should export the named class.
Example: export default class CarouselHeroFader extends AbstractBlock
export default class CarouselHeroFader extends AbstractBlock
Also update const MODULE_NAME = 'Example'; to be something like static displayName: string = 'carousel-hero-fader'; and it should exist within the class.
const MODULE_NAME = 'Example';
static displayName: string = 'carousel-hero-fader';
Module classes should export the named class.
Example:
export default class CarouselHeroFader extends AbstractBlock
Also update
const MODULE_NAME = 'Example';
to be something likestatic displayName: string = 'carousel-hero-fader';
and it should exist within the class.