creactive 0.0.15 → 0.0.17

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.
@@ -0,0 +1 @@
1
+ export * from './text';
@@ -0,0 +1 @@
1
+ export * from './text';
@@ -0,0 +1,2 @@
1
+ import type { TextComponent } from './text.types';
2
+ export declare const Text: TextComponent;
@@ -0,0 +1,5 @@
1
+ import type { FunctionComponent, PropsWithChildren } from 'react';
2
+ interface TextProps extends PropsWithChildren {
3
+ }
4
+ export type TextComponent = FunctionComponent<TextProps>;
5
+ export {};
@@ -0,0 +1 @@
1
+ export * from './style';
@@ -0,0 +1 @@
1
+ export * from './style';
@@ -0,0 +1,2 @@
1
+ import type { RenderStyleHelper } from './style.types';
2
+ export declare const renderStyle: RenderStyleHelper;
@@ -0,0 +1,13 @@
1
+ import type { ComponentType } from 'react';
2
+ /**
3
+ * Rendering style node (for web platform server side rendering) helper.
4
+ * Using this helper on native platform makes no sense and will throw an error!
5
+ * You are supposed to use it only for server side rendering.
6
+ *
7
+ * @see https://necolas.github.io/react-native-web/docs/rendering/
8
+ * @see https://docs.expo.dev/guides/using-nextjs/
9
+ *
10
+ * @param component - your root component which uses library inside
11
+ * @param key - identifies component in the registry if you have multiple
12
+ */
13
+ export type RenderStyleHelper = (component: ComponentType, key?: string) => Node;
@@ -0,0 +1,2 @@
1
+ export * from './components';
2
+ export * from './helpers';