Include widgets.option_list.Option in the docs

Noticed this in passing; possibly dropped by accident when the widgets were
removed form the API section of the docs?
This commit is contained in:
Dave Pearson
2023-05-24 14:13:17 +01:00
parent 7d0d1ac5c8
commit 7c9b3f4cd6

View File

@@ -115,3 +115,8 @@ The option list provides the following component classes:
::: textual.widgets.OptionList ::: textual.widgets.OptionList
options: options:
heading_level: 2 heading_level: 2
::: textual.widgets.option_list.Option
options:
heading_level: 2