From 3af5d8000e84e8cd9055d552e3453064b7baafcb Mon Sep 17 00:00:00 2001 From: eecavanna <134325062+eecavanna@users.noreply.github.com> Date: Mon, 15 Jan 2024 00:49:37 -0800 Subject: [PATCH] Fix typos in documentation (#546) * Fix spelling of "below" * Add commas --- packages/website/blog/2023-09-19-ladle-v3.md | 2 +- packages/website/docs/decorators.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/website/blog/2023-09-19-ladle-v3.md b/packages/website/blog/2023-09-19-ladle-v3.md index 3d72bbab..b079e466 100644 --- a/packages/website/blog/2023-09-19-ladle-v3.md +++ b/packages/website/blog/2023-09-19-ladle-v3.md @@ -42,7 +42,7 @@ Recent additions include: ## Lessons Learned -The primary catalyst behind Ladle was performance enhancement. Incremental builds transitioned from several seconds or even minutes to mere milliseconds. Startup durations reduced dramatically. And bellow a chart showcases our progression to a 100% Ladle adoption by 08/2023 and its impact on CI build times. +The primary catalyst behind Ladle was performance enhancement. Incremental builds transitioned from several seconds or even minutes to mere milliseconds. Startup durations reduced dramatically. And, below, a chart showcases our progression to a 100% Ladle adoption by 08/2023 and its impact on CI build times. ![Production build times](/img/build-times.png) diff --git a/packages/website/docs/decorators.md b/packages/website/docs/decorators.md index 8553c2d6..1e82a898 100644 --- a/packages/website/docs/decorators.md +++ b/packages/website/docs/decorators.md @@ -3,7 +3,7 @@ id: decorators title: Decorators --- -Ladle supports story decorators, so you can wrap all stories in a file with additional React component(s). This is useful if your stories/components rely on [React Context](https://reactjs.org/docs/context.html) and libraries like `react-router`, `redux` or [next](https://ladle.dev/docs/nextjs/). In the example bellow , we are adding an extra `margin: 3em` to each story: +Ladle supports story decorators, so you can wrap all stories in a file with additional React component(s). This is useful if your stories/components rely on [React Context](https://reactjs.org/docs/context.html) and libraries like `react-router`, `redux` or [next](https://ladle.dev/docs/nextjs/). In the example below, we are adding an extra `margin: 3em` to each story: ```tsx import type { StoryDefault } from "@ladle/react"; @@ -39,7 +39,7 @@ MyStory.decorators = [ ## Context Parameter -You can also access Ladle's context through the second parameter. This way your decorators can control every aspect of Ladle including the state of controls and other addons: +You can also access Ladle's context through the second parameter. This way, your decorators can control every aspect of Ladle, including the state of controls and other addons: ```tsx import type { StoryDefault, Story } from "@ladle/react";