-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,5 @@ | ||
# (Next) Component System | ||
# TODO | ||
|
||
This directory contains the code for next Component System. | ||
We want to get rid of this folder. Don't add anything new here. | ||
|
||
More information can be found in the original GitHub issue: | ||
https://github.com/WordPress/gutenberg/issues/27484 | ||
|
||
## Usage | ||
|
||
(This is still very much a work in progress) | ||
|
||
```jsx | ||
import { Text, View } from '@wordpress/components/ui'; | ||
|
||
function Example() { | ||
return ( | ||
<View> | ||
<Text>Code is Poetry</Text> | ||
</View> | ||
); | ||
} | ||
``` | ||
What is left of this folder should either be deleted (if unused elsewhere), or be moved into the root `packages/components/src` and `packages/components/src/utils` folders. |