Embed: Strictly type the codebase and fixes a few bugs found (#7536)

* Add strict types

* Make it array

* Make api consistent and support calOrigin in floatingPopup and modal

* Support calOrigin everywhere and fix branding config issue

* Fix styles not being uniformly applied across components

* Fix unused code
This commit is contained in:
Hariom Balhara authored and GitHub committed 2023-03-28 11:17:40 -07:00
1 parent 4f590ebbf7
commit 5fceee27fe
21 files changed
+1034 -769

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
<head>
<script src="https://unpkg.com/react@17/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@17/umd/react-dom.development.js" crossorigin></script>
<script type="module" src="./test-cal.tsx"></script>
<script type="module" src="./inline.tsx"></script>
</head>
<body>
<div id="root"></div>