23 lines
697 B
TypeScript
23 lines
697 B
TypeScript
/**
|
|
* Internal dependencies
|
|
*/
|
|
import TaxHeader from './headers/tax';
|
|
import MarketingHeader from './headers/marketing';
|
|
import AppearanceHeader from './headers/appearance';
|
|
import ShippingHeader from './headers/shipping';
|
|
import ProductsHeader from './headers/products';
|
|
import PaymentsHeader from './headers/payments';
|
|
import WoocommercePaymentsHeader from './headers/woocommerce-payments';
|
|
|
|
const taskHeaders: Record< string, React.ElementType > = {
|
|
tax: TaxHeader,
|
|
shipping: ShippingHeader,
|
|
marketing: MarketingHeader,
|
|
appearance: AppearanceHeader,
|
|
payments: PaymentsHeader,
|
|
products: ProductsHeader,
|
|
'woocommerce-payments': WoocommercePaymentsHeader,
|
|
};
|
|
|
|
export default taskHeaders;
|