Skip to content

Commit

Permalink
docs: v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nderscore committed Dec 5, 2022
1 parent c457aff commit c42500f
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,26 @@ yarn add -D prettier-plugin-nativewind

## Fork features

* Support for sorting tailwind classes in `className` and `tw` props from NativeWind.
Support for automatically sorting tailwind classes found in strings inside of:

* Support for sorting tailwind classes in `styled()` calls, including v3.x variants API.
* JSX props: `className` and `tw`

* Styled components defined using `styled()`

* Class variants defined using `variants()`

## Usage

Please refer to the [original package documentation](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) for usage instructions.
Please refer to the
[original package documentation](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/#readme)
for usage instructions.

## Changelog

### v0.1.1

* Add support for NativeWind `variants()` calls.

### v0.1.0

* Initial release (forked from `prettier-plugin-tailwindcss@0.2.0`)

0 comments on commit c42500f

Please sign in to comment.