# SwitchStatement

A switch statement.

* jsx

  ```tsx
  import { SwitchStatement } from "@alloy-js/typescript";


  <SwitchStatement expression={Children}>
    {children}
  </SwitchStatement>
  ```

* stc

  ```ts
  import { SwitchStatement } from "@alloy-js/typescript/stc";


  SwitchStatement({ expression: Children }).children(children)
  ```

## Props

|            |                                           |   |
| ---------- | ----------------------------------------- | - |
| children   | [Children](../../../core/types/children/) |   |
| expression | [Children](../../../core/types/children/) |   |
