# StateSchema

Effect Schema used by makeState to encode, decode, and hydrate Carousel state.

## Signatures

```ts
export declare const StateSchema: Schema.Struct<{
    readonly activeId: Schema.String;
    readonly paused: Schema.Boolean;
}>;
```



## Examples

```ts
import * as Schema from "effect/Schema";
import * as Carousel from "@typed/ui/Carousel";

const decodeState = Schema.decodeUnknownEffect(Carousel.StateSchema);
```
