woocommerce/packages/js/experimental
Chi-Hsuan Huang 6f5ada8748 Add Typescript type declarations for js packages 2022-04-15 13:50:17 +08:00
..
src Fix minor css issues with complete task list item 2022-04-13 16:01:31 -03:00
typings Moved WCA Packages 2022-03-18 14:25:26 -07:00
.eslintrc.js Add .eslintrc config to each packages 2022-03-29 16:08:07 +08:00
.npmrc Moved WCA Packages 2022-03-18 14:25:26 -07:00
CHANGELOG.md Update package changelogs 2022-04-07 14:34:42 +08:00
README.md Moved WCA Packages 2022-03-18 14:25:26 -07:00
jest.config.json Moved WCA Packages 2022-03-18 14:25:26 -07:00
package.json Add Typescript type declarations for js packages 2022-04-15 13:50:17 +08:00
project.json Add build-watch to most js packages and remove packages watch from woocommerce-admin command 2022-03-30 11:46:12 -03:00
tsconfig-cjs.json Moved WCA Packages 2022-03-18 14:25:26 -07:00
tsconfig.json Add Typescript type declarations for js packages 2022-04-15 13:50:17 +08:00
webpack.config.js Moved WCA Packages 2022-03-18 14:25:26 -07:00

README.md

Experimental

This is a private package not meant for use by third parties.

A collection of component imports and exports that are aliases for components transitioning from experimental to non-experimental. This package prevents the component from being undefined when the @wordpress/components library version is unclear.

It also contains several in-development components that are slated for inclusion in later releases of @woocommerce/components.

Installation

Install the module

pnpm install @woocommerce/experimental --save

Usage

Simply import the component name with the __experimental prefix. If found, the non-experimental version will be imported and if not, this will fallback to the experimental version.

import { Text } from '@woocommerce/experimental';

render() {
	return (
		<Text>
			
		</Text>
	);
}