25 lines
773 B
TypeScript
25 lines
773 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 PurchaseHeader from './headers/purchase';
|
|
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,
|
|
purchase: PurchaseHeader,
|
|
'woocommerce-payments': WoocommercePaymentsHeader,
|
|
};
|
|
|
|
export default taskHeaders;
|