@talkjs/web-components 0.1.2 → 0.1.4

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.
Files changed (4) hide show
  1. package/default.cjs +83 -83
  2. package/default.d.ts +4 -1
  3. package/default.js +4290 -4234
  4. package/package.json +1 -1
package/default.d.ts CHANGED
@@ -1367,6 +1367,7 @@ export { ParticipantSnapshot }
1367
1367
  * PopoverButton component that renders a popover triggered by a button.
1368
1368
  *
1369
1369
  * Usage:
1370
+ * ```tsx
1370
1371
  * <PopoverButton
1371
1372
  * popoverComponent={YourMenuComponent}
1372
1373
  * popoverProps={{ prop1: value1, prop2: value2 }}
@@ -1374,10 +1375,12 @@ export { ParticipantSnapshot }
1374
1375
  * >
1375
1376
  * <Icon type="horizontalDots" />
1376
1377
  * </MenuButton>
1377
- *
1378
+ * ```
1378
1379
  * All props except for menuComponent and popoverProps are passed to the button element.
1379
1380
  *
1380
1381
  * the popoverComponent will also receive a closePopover prop. It's a function you can call to close the popover.
1382
+ *
1383
+ * @public
1381
1384
  */
1382
1385
  export declare function PopoverButton<T extends object>(props: PopoverButtonProps<T>): JSX_2.Element;
1383
1386