import React from 'react'; import { StyleSheet } from 'react-native'; import { List, ListElement, ListProps, Text } from '@ui-kitten/components'; export interface CategoryListProps extends ListProps { hint: string; } export const CategoryList = (props: CategoryListProps): ListElement => { const { hint, ...listProps } = props; return ( {hint} ); }; const styles = StyleSheet.create({ hint: { margin: 16, }, });