[**@twipped/hooks**](../../README.md) • **Docs**

***

# Interface: StatedProviderProps\<T\>

## Type parameters

• **T**

= any

## Properties

### children

> **children**: `ReactNode` \| (`context`) => `ReactNode`

#### Source

[hooks/StatedContext.js:36](https://github.com/Twipped/hooks/blob/main/hooks/StatedContext.js#L36)

***

### onChange()

> **onChange**: (`value`) => `void`

Callback to invoke with the value is changed

#### Parameters

• **value**: `T`

#### Returns

`void`

#### Source

[hooks/StatedContext.js:35](https://github.com/Twipped/hooks/blob/main/hooks/StatedContext.js#L35)

***

### value

> **value**: `T`

The input and default selected value

#### Source

[hooks/StatedContext.js:34](https://github.com/Twipped/hooks/blob/main/hooks/StatedContext.js#L34)
