mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
Don't show a preview for the sample component in the Rust docs
It's not a visual example.
This commit is contained in:
parent
efd83e9929
commit
cc7ce65c0d
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ pub mod generated_code {
|
|||
/// This an example of the API that is generated for a component in `.slint` design markup. This may help you understand
|
||||
/// what functions you can call and how you can pass data in and out.
|
||||
/// This is the source code:
|
||||
/// ```slint
|
||||
/// ```slint,no-preview
|
||||
/// export component SampleComponent inherits Window {
|
||||
/// in-out property<int> counter;
|
||||
/// // note that dashes will be replaced by underscores in the generated code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue