Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 677 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 677 Bytes

Components

This packages includes a library of generic WordPress components to be used for creating common UI elements shared between screens and features of the WordPress dashboard.

Installation

Install the module

npm install @wordpress/components --save

Usage

Within Gutenberg, these components can be accessed by importing from the components root directory:

/**
 * WordPress dependencies
 */
import { Button } from '@wordpress/components';

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



Code is Poetry.