Skip to content

Commit

Permalink
docs: improve wording
Browse files Browse the repository at this point in the history
  • Loading branch information
ecklf committed Nov 25, 2021
1 parent f5af06d commit f1ab8d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ skipAttributeNames: true

#### Basic usage

This plugin works with CSS attribute selectors. Use the utilities based on the `data-*` attribute added by radix.
This plugin works with CSS attribute selectors. Use the variants based on the `data-*` attribute added by radix.

```tsx
import React from "react";
Expand All @@ -94,7 +94,7 @@ export default App;

#### Accessing parent state

Sometimes we want to access state in the child of the trigger element. This can be achieved by using `group-*` utilities.
Sometimes we want to access state in the child of the trigger element. This can be achieved by adding the `group` class to the parent element and the `group-*` variants on the child element.

The below example shows how you can apply a conditional transform for a radix `Accordion`:

Expand Down

0 comments on commit f1ab8d8

Please sign in to comment.