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

Fix typos #349

Merged
merged 1 commit into from
Aug 9, 2024
Merged
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
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
Loading