Skip to content

Commit

Permalink
Add user-facing docs for default placeholder text style behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett committed May 6, 2024
1 parent 6145b1f commit 057dd37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ pub struct TextInputPlaceholder {
/// The placeholder text.
pub value: String,
/// The style to use when rendering the placeholder text.
///
/// If `None`, the text input style will be used with alpha value of `0.25`.
pub text_style: Option<TextStyle>,
}

Expand Down

0 comments on commit 057dd37

Please sign in to comment.