<templates>
  <div t-name="o-spreadsheet-NumberFormatsTool" t-ref="this.buttonRef" t-on-click.stop="">
    <ActionButton
      action="this.formatNumberMenuItemSpec"
      hasTriangleDownIcon="true"
      onClick.bind="this.toggleMenu"
      class="this.props.class"
    />
    <MenuPopover
      t-if="this.isActive"
      anchorRect="this.state.anchorRect"
      menuItems="this.state.menuItems"
      onClose="() => {}"
      popoverPositioning="'bottom-left'"
    />
  </div>
</templates>
