Function component with external CSS and external HTML

  
  import { registerFunctionComponent } from './webact.js';

  async function NiceButton() {
    const { useHTML, useCSS } = this;

    await useHTML('./nice-button.html');
    await useCSS('./nice-button.css');
  }

  registerFunctionComponent(NiceButton);
  
  
I am a nice button