creactive 0.0.54 → 0.0.55

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.
@@ -1,3 +1,4 @@
1
1
  export { Media } from './media';
2
2
  export type { MediaComponent, MediaProps } from './media';
3
3
  export { Wrapper } from './wrapper';
4
+ export type { WrapperComponent, WrapperProps } from './wrapper';
@@ -1,2 +1,2 @@
1
- import type { WrapperComponent } from './wrapper.types';
2
- export declare const Wrapper: WrapperComponent;
1
+ export { Wrapper } from './wrapper';
2
+ export type { WrapperComponent, WrapperProps } from './wrapper.types';
@@ -0,0 +1,3 @@
1
+ import type { JSX } from 'react';
2
+ import { WrapperProps } from './wrapper.types';
3
+ export declare const Wrapper: ({ children }: WrapperProps) => JSX.Element;
@@ -1,2 +1,4 @@
1
1
  import type { FunctionComponent, PropsWithChildren } from 'react';
2
- export type WrapperComponent = FunctionComponent<PropsWithChildren>;
2
+ export interface WrapperProps extends PropsWithChildren {
3
+ }
4
+ export type WrapperComponent = FunctionComponent<WrapperProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "creactive",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "main": "build/index.js",
5
5
  "files": [
6
6
  "build/**"
@@ -1,2 +0,0 @@
1
- import type { WrapperComponent } from './wrapper.types';
2
- export declare const Wrapper: WrapperComponent;
@@ -1,2 +0,0 @@
1
- import type { WrapperComponent } from './wrapper.types';
2
- export declare const Wrapper: WrapperComponent;