Skip to content

Commit

Permalink
docs typo fixed (#51)
Browse files Browse the repository at this point in the history
* docs typo fixed
* typo fixed on code comment
* typo fixed

---------

Co-authored-by: ShafayetAhmad <[email protected]>
  • Loading branch information
ShafayetAhmad and ShafayetAhmad authored Dec 6, 2023
1 parent fa2fd6e commit c489d51
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/docs/docs/learn/04-styling-ui/01-defining-styles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const styles = stylex.create({

## Combining conditions

Your Style Values can be be nested more than one level deep when you need to
Your Style Values can be nested more than one level deep when you need to
combine Media Queries and Pseudo Selectors

```tsx
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/docs/learn/06-static-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ import type {StyleXStyles} from '@stylexjs/stylex';
type Props = {
...
// Only accept styles for marginTop and nothing else.
// the value for marginTop can only be 0, 4, or 8.
// The value for marginTop can only be 0, 4, or 8.
style?: StyleXStyles<{
marginTop: 0 | 4 | 8 | 16
}>,
Expand All @@ -173,7 +173,7 @@ import type {StyleXStyles} from '@stylexjs/stylex';
type Props = $ReadOnly<{
...
// Only accept styles for marginTop and nothing else.
// the value for marginTop can only be 0, 4, or 8.
// The value for marginTop can only be 0, 4, or 8.
style?: StyleXStyles<{
marginTop: 0 | 4 | 8 | 16
}>,
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/docs/learn/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ such as `SolidJS`, `Preact` or `Qwik`.
## Ideal use cases

StyleX works well in a wide variety of projects. However, it was designed to meet the
challenges of particular uses cases.
challenges of particular use cases.

### Authoring UI in JavaScript

Expand Down

0 comments on commit c489d51

Please sign in to comment.