e49a7eaffd
* Add tsconfig to components directory and include it as project * Add @types/classnames package * Migrate Label component to TSX * Remove unused imports from Label component * fix package-lock.json It was generated with npm 7 and we don’t support that yet (and that update should be done in a separate pull) * Add interface for LabelProps and implement. Also: - import `Fragment` from @wordpress/element. - import `HTMLAttributes` explicitly as a type from react (@types/wordpress__element doesn’t export this interface). * fix jest configuration Co-authored-by: Darren Ethier <darren@roughsmootheng.in> |
||
---|---|---|
plugins/woocommerce-blocks |