Skip to content

Commit

Permalink
Fix typos/grammar (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
mneumann authored Aug 9, 2024
1 parent d202e64 commit 74bf560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/scenic/component.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

defmodule Scenic.Component do
@moduledoc """
A Component is Scene that is optimized to be used as a child of another scene.
A Component is a Scene that is optimized to be used as a child of another scene.
These are typically controls that you want to define once and use in multiple places.
Expand Down Expand Up @@ -145,7 +145,7 @@ defmodule Scenic.Component do
When `:has_children` is set to `false`, no `DynamicSupervisor` is started to manage the
scene's children, overall resource use is improved, and startup time is faster. You will not,
however, be able to nested components in any scene where `:has_children` is `false`.
however, be able to nest components in any scene where `:has_children` is `false`.
For example, the `Scenic.Component.Button` component sets `:has_children` to `false`.
Expand Down

0 comments on commit 74bf560

Please sign in to comment.