@theroutingcompany/components 0.0.38 → 0.0.39-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theroutingcompany/components",
3
- "version": "0.0.38",
3
+ "version": "0.0.39-alpha.0",
4
4
  "description": "The Routing Company Components",
5
5
  "main": "./dist/trc-components.umd.js",
6
6
  "module": "./dist/trc-components.es.js",
@@ -1,8 +1,9 @@
1
- import React from 'react';
1
+ import React, { type SetStateAction, type Dispatch } from 'react';
2
2
  /**
3
3
  * Context is created here to pass modal onClose and open state to composed Modal components
4
4
  */
5
5
  type ContextProps = {
6
+ setModalTitle?: Dispatch<SetStateAction<string>>;
6
7
  onClose?: () => void;
7
8
  open?: boolean;
8
9
  };