Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs typo fixed #51

Merged
merged 3 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading