/* global SUI */ /** * External dependencies */ import React from 'react'; /** * WordPress dependencies */ const { __ } = wp.i18n; /** * Internal dependencies */ import './assets.scss'; import Action from '../../components/sui-box/action'; import Box from '../../components/sui-box'; import Button from '../../components/sui-button'; import Tooltip from '../../components/sui-tooltip'; import Tabs from '../../components/sui-tabs'; import BoxBuilder from '../../components/sui-box-builder'; /** * Assets component. * * @since 2.7.2 */ export default class Assets extends React.Component { /** * Component constructor. * * @param {Object} props */ constructor( props ) { super( props ); this.onTabClick = this.onTabClick.bind( this ); this.showHowDoesItWork = this.showHowDoesItWork.bind( this ); } /** * Component header. * * @return {JSX.Element} Header action buttons. */ getHeaderActions() { const buttons = (