woocommerce/plugins/woocommerce-blocks/packages/checkout/components
Niels Lange a748f533a8 Format Markdown files using wp-scripts (https://github.com/woocommerce/woocommerce-blocks/pull/6462)
* Format Markdown files using Prettier

* Format Markdown files using wp-scripts

* Adjust MD linting
2022-06-09 14:43:17 +02:00
..
button Add Checkout Package and Checkout i2 Documentation (https://github.com/woocommerce/woocommerce-blocks/pull/4892) 2021-10-12 15:23:52 +01:00
checkbox-control Customer Data Store and revised handling for Shipping As Billing (https://github.com/woocommerce/woocommerce-blocks/pull/5817) 2022-02-22 17:45:01 +00:00
discounts-meta Pass context information about parent block to the existing Slots (https://github.com/woocommerce/woocommerce-blocks/pull/5885) 2022-02-22 10:33:52 +01:00
error-boundary Add Checkout Package and Checkout i2 Documentation (https://github.com/woocommerce/woocommerce-blocks/pull/4892) 2021-10-12 15:23:52 +01:00
label Add Checkout Package and Checkout i2 Documentation (https://github.com/woocommerce/woocommerce-blocks/pull/4892) 2021-10-12 15:23:52 +01:00
order-meta Pass context information about parent block to the existing Slots (https://github.com/woocommerce/woocommerce-blocks/pull/5885) 2022-02-22 10:33:52 +01:00
order-shipping-packages Pass context information about parent block to the existing Slots (https://github.com/woocommerce/woocommerce-blocks/pull/5885) 2022-02-22 10:33:52 +01:00
panel WIP: Add Inner blocks to order summary (https://github.com/woocommerce/woocommerce-blocks/pull/6065) 2022-04-01 15:45:18 +02:00
totals Fix/order summary sidebar css (https://github.com/woocommerce/woocommerce-blocks/pull/6231) 2022-04-12 17:13:43 +02:00
totals-wrapper WIP: Add Inner blocks to order summary (https://github.com/woocommerce/woocommerce-blocks/pull/6065) 2022-04-01 15:45:18 +02:00
README.md Format Markdown files using wp-scripts (https://github.com/woocommerce/woocommerce-blocks/pull/6462) 2022-06-09 14:43:17 +02:00
index.js Move checkbox control to checkout package (https://github.com/woocommerce/woocommerce-blocks/pull/5045) 2021-11-09 16:47:46 +00:00

README.md

Checkout - Components

A library of components to be used for creating common UI elements shared between features of the WooCommerce Cart and Checkout Blocks.

Table of Contents

Usage

When WooCommerce Blocks is installed and activated, these components can be accessed by importing from the blocks-checkout package.

// Aliased import
import { Button } from '@woocommerce/blocks-checkout';

// Global import
// const { Button } = wc.blocksCheckout;

export default function MyButton() {
	return <Button>Click Me!</Button>;
}

These components are here so they can be consumed by extensions.


We're hiring! Come work with us!

🐞 Found a mistake, or have a suggestion? Leave feedback about this document here.