doc: prospective fix for rendering of example snippet in C++ generated code docs

The sample component in the docs has nothing to see, disable preview.
This commit is contained in:
Simon Hausmann 2022-11-02 09:54:03 +01:00
parent 41e3e27bff
commit a1f9e39054

View file

@ -35,7 +35,7 @@ the {cpp:class}`slint::VectorModel` provides an implementation that is backed by
Let's assume we have this code in our `.slint` file
```slint
```slint,no-preview
SampleComponent := Window {
property<int> counter;
property<string> user_name;