--- source: crates/guiduck-component-core/tests/snapshots_test.rs assertion_line: 539 expression: "compile_with_widgets_or_render_errors(source, \"Page.gdc\")" --- Ir { name: "Page", records: [], props: [], outputs: [], states: [ IrState { name: "body", ty: ValueTy { kind: Scalar( String, ), list: false, }, init: Str( "# Hi", ), }, ], handlers: [ IrHandler { name: "navigate", payloads: [ String, ], returns: None, }, IrHandler { name: "clicked", payloads: [], returns: None, }, ], nodes: [ IrNode { widget: Widget( IrWidgetNode { name: "container", type_path: "::guiduck::core::Container", props: [], events: [], queries: [], }, ), classes: [], style: StyleIr { width: None, height: None, padding: Some( 8.0, ), gap: None, direction: Some( Column, ), align_items: None, justify_content: None, align_self: None, grow: None, shrink: None, basis: None, }, events: [], autofocus: false, enabled: None, focused: None, tooltip: None, accel: None, component_props: [], component_outputs: [], component_key: None, control: None, children: [ 1, ], }, IrNode { widget: Widget( IrWidgetNode { name: "markdown", type_path: "::guiduck_markdown::MarkdownView", props: [ IrWidgetProp { name: "source", setter: "set_source", ty: Scalar( String, ), value: Binding( Path( [ "body", ], Span { start: 165, end: 169, }, ), ), }, IrWidgetProp { name: "wrap", setter: "set_wrapping", ty: Scalar( Bool, ), value: Static( Bool( true, ), ), }, IrWidgetProp { name: "gutter", setter: "set_gutter", ty: Scalar( F32, ), value: Static( Float( 12.0, ), ), }, ], events: [ IrUserEvent { name: "on-link", payload: Some( String, ), handler: "navigate", args: [ Path( [ "payload", ], Span { start: 292, end: 299, }, ), ], }, ], queries: [], }, ), classes: [ "doc", ], style: StyleIr { width: Some( Px( 400.0, ), ), height: None, padding: None, gap: None, direction: None, align_items: None, justify_content: None, align_self: None, grow: None, shrink: None, basis: None, }, events: [ IrEvent { event: Click, handler: "clicked", args: [], }, ], autofocus: false, enabled: None, focused: None, tooltip: Some( "The rendered page", ), accel: None, component_props: [], component_outputs: [], component_key: None, control: None, children: [], }, ], }