diff --git a/src/framework/ui/text/text.component.tsx b/src/framework/ui/text/text.component.tsx index 88c0e113b..f7014d9ef 100644 --- a/src/framework/ui/text/text.component.tsx +++ b/src/framework/ui/text/text.component.tsx @@ -14,10 +14,12 @@ import { StyledComponentProps, } from '@kitten/theme'; +type ChildElement = string | TextElement; + interface ComponentProps { category?: string; status?: string; - children?: string; + children?: ChildElement | ChildElement[]; } export type TextProps = StyledComponentProps & RNTextProps & ComponentProps;