-- Multi-file module demo
-- Imports shared state and components from another .ds file

import { shared_count, Counter } from "./shared"

let local_count = 0

view app =
  column [
    text "Module Demo"
    text "Local: {local_count}"
    button "Local +1" { click: local_count += 1 }
    text "Shared (from module): {shared_count}"
    Counter
  ]
