@myop/react 0.0.33 → 0.0.34
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/dist/index.d.ts +4 -3
- package/dist/index.js +905 -873
- package/dist/index.umd.cjs +23 -23
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -50,9 +50,10 @@ declare interface IBasePropTypes<TData = any, TCtaPayloads extends Record<string
|
|
|
50
50
|
preview?: boolean;
|
|
51
51
|
/**
|
|
52
52
|
* Automatically size the component based on its content.
|
|
53
|
-
* When true, the component
|
|
54
|
-
* When false
|
|
55
|
-
*
|
|
53
|
+
* When true (default), the component behaves like a div — grows with content, width fills parent.
|
|
54
|
+
* When false, the component fills its parent container (requires parent to have explicit dimensions).
|
|
55
|
+
* Components with `<meta name="myop:size" content='{"height":"100%"}'>` automatically use fill mode.
|
|
56
|
+
* @default true
|
|
56
57
|
*/
|
|
57
58
|
autoSize?: boolean;
|
|
58
59
|
/**
|