Skip to content

Commit

Permalink
docs: enhance sentence flow and readability
Browse files Browse the repository at this point in the history
  • Loading branch information
neerajkumarc committed Dec 12, 2023
1 parent 1951863 commit 51043d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/docs/docs/learn/03-installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ All uses of StyleX require the runtime package to be installed.

## Compiler

The recommended way to use StyleX in development and production is with the
The recommended way to use StyleX in both development and production is with the
build-time compiler.

### Development

For development, you need only to configure the Babel plugin so that styles are
For development, you only need to configure the Babel plugin so that styles are
processed at compile-time. The plugin will compile styles and insert runtime
style injection code into your JavaScript modules.

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/docs/learn/04-styling-ui/02-using-styles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ codebase.

### Accepting styles in components

Accepting custom `StyleXStyles` is as simple as accepting any other prop. and
Accepting custom `StyleXStyles` is as simple as accepting any other prop and
applying it with the `stylex.props` function. Just like local styles.

```tsx
Expand Down

0 comments on commit 51043d6

Please sign in to comment.