# Video SDK UI Toolkit Web does not export the 'build with components' functionality (TypeScript)

**URL:** <https://devforum.zoom.us/t/video-sdk-ui-toolkit-web-does-not-export-the-build-with-components-functionality-typescript/114585>\
**Category:** Video SDK\
**Created:** [July 29, 2024, 4:07pm UTC](https://devforum.zoom.us/t/video-sdk-ui-toolkit-web-does-not-export-the-build-with-components-functionality-typescript/114585 "2024-07-29T16:07:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fernandofrey](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fernandofrey/32/61903_2.png) [@fernandofrey](https://devforum.zoom.us/u/fernandofrey)\
**Post date:** [July 29, 2024, 4:07pm UTC](https://devforum.zoom.us/t/video-sdk-ui-toolkit-web-does-not-export-the-build-with-components-functionality-typescript/114585/1 "2024-07-29T16:07:46Z")

</div>

**Video SDK Type and Version**  
I’m using Video SDK UI Toolkit for Web (react), version 1.10.8-2

**Description**  
I’m unable to use the ‘build with components’ functionality, using the UI Toolkit in my React application, using TypeScript.

**Error**  
In the documentation there is a section that shows how to use the components:  
/docs/video-sdk/web/ui-toolkit/#build-with-the-ui-toolkit  
(see build with components tab) but those functions do not exists or are not being correctly exported, so I cannot use them in my application.

here’s my code (copied from the documentation)

```auto
import uitoolkit from '@zoom/videosdk-ui-toolkit';
...
const uitoolkitContainer = document.getElementById('uitoolkitContainer')
uitoolkit.showUitoolkitComponents(uitoolkitContainer, config)

```

and this is the .d.ts file from your npm package (node\_modules@zoom\videosdk-ui-toolkit\index.d.ts):

```auto
declare namespace _default {
    function openPreview(container: HTMLElement): void;
    function closePreview(container: HTMLElement): void;
    function joinSession(container: HTMLElement, config: Object): void;
    function closeSession(container: HTMLElement): void;
    function onSessionJoined(callback: EventListenerOrEventListenerObject): void;
    function offSessionJoined(callback: EventListenerOrEventListenerObject): void;
    function onSessionClosed(callback: EventListenerOrEventListenerObject): void;
    function offSessionClosed(callback: EventListenerOrEventListenerObject): void;
}
export default _default;

```

Are you missing an update in the v1.10.8-2? or am I doing something wrong?

Thanks,  
Fernando

---

<div class="post-metadata">

**Author:** ![fedah.dar](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@fedah.dar](https://devforum.zoom.us/u/fedah.dar)\
**Post date:** [July 31, 2024, 6:06pm UTC](https://devforum.zoom.us/t/video-sdk-ui-toolkit-web-does-not-export-the-build-with-components-functionality-typescript/114585/2 "2024-07-31T18:06:20Z")

</div>

HI, are you still facing this issue?  
I am facing the same issue,

---

<div class="post-metadata">

**Author:** ![alyxjames1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alyxjames1/32/49417_2.png) [@alyxjames1](https://devforum.zoom.us/u/alyxjames1)\
**Post date:** [July 31, 2024, 6:30pm UTC](https://devforum.zoom.us/t/video-sdk-ui-toolkit-web-does-not-export-the-build-with-components-functionality-typescript/114585/3 "2024-07-31T18:30:53Z")

</div>

It seems the `build with components` functionality is not exported in version 1.10.8-2 of the Video SDK UI Toolkit for Web (React). The provided `.d.ts` file confirms the absence of these functions. You might be using the incorrect version or there could be an issue with the package.

Steps to resolve:

1. **Check Version** : Ensure you are using the latest version of the SDK.
2. **Documentation** : Verify if there are any recent updates or changes in the documentation.
3. **Contact Support** : If the issue persists, contact Zoom’s support team for clarification on the missing functions.

Your code and import statements seem correct, so this might be an issue with the package itself.
