anu-verzum 1.15.0 → 1.16.0
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/core/elements.d.ts +1 -1
- package/package.json +1 -1
package/dist/core/elements.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export type Props = {
|
|
|
12
12
|
export type Ref<T> = {
|
|
13
13
|
current: T | null;
|
|
14
14
|
};
|
|
15
|
-
export type FunctionComponent<P extends Props = Props> = (props: P) => AnuElement<any, any> | AnuElement<any>[] | null;
|
|
15
|
+
export type FunctionComponent<P extends Props = Props> = (props: P) => AnuElement<any, any> | AnuElement<any, any>[] | string | number | null | undefined;
|
|
16
16
|
export type ComponentConstructor<P extends Props = Props> = new (props: P, context?: Record<string, any>) => any;
|
|
17
17
|
export type ElementType = string | FunctionComponent | ComponentConstructor;
|
|
18
18
|
export type AnuElement<P = Props, T extends ElementType = ElementType> = {
|
package/package.json
CHANGED