woocommerce/packages/js/experimental
Lourens Schep 96a8b5b226 Fix type definition in TaskItem prop 2022-04-29 11:26:57 -03:00
..
changelog changelog 2022-04-28 10:00:29 +12:00
src Fix type definition in TaskItem prop 2022-04-29 11:26:57 -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 Fix type definition in TaskItem prop 2022-04-29 11:26:57 -03: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 reference local eslint plugin package 2022-04-28 10:00:29 +12: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>
	);
}