Add better docs for how to use block in block.rs #914
Labels
Effort: Good First Issue
Good for newcomers without much Rust or Ratatui experiance. Apply only if willing to help implement
Type: Enhancement
New feature or request
Problem
Similar to ratatui/ratatui-website#424 which asks this to be added to the website the blocks docs https://docs.rs/ratatui/latest/ratatui/widgets/block/struct.Block.html could add some more details about using it to surround widgets by passing it as a parameter.
The main doc comment needs to have several summary list similar to the other newer widgets that shows the setter methods that are used to configure the widget, the constructors, and those that are used after the widget is created (e.g. inner()), pointing to the appropriate methods lower.
Solution
Update the docs
Alternatives
Additional context
The text was updated successfully, but these errors were encountered: