# Type alias RecoilRootProps

RecoilRootProps: {
children: React.ReactNode;
initializeState?: ((mutableSnapshot) => void);
override?: true;
} | {
children: React.ReactNode;
override: false;
}

#### Type declaration

- ##### children: React.ReactNode

- ##### `Optional` initializeState?: ((mutableSnapshot) => void)

  - - (mutableSnapshot): void

    - #### Parameters

      - mutableSnapshot: MutableSnapshot

      #### Returns void

- ##### `Optional` override?: true

#### Type declaration

- ##### children: React.ReactNode

- ##### override: false

- Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:29