react-native-ui-lib
Version:
<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a
20 lines (19 loc) • 541 B
TypeScript
/// <reference types="react" />
import { TextStyle } from 'react-native';
export interface CharCounterProps {
/**
* Should show a character counter (works only with maxLength)
*/
showCharCounter?: boolean;
maxLength?: number;
/**
* Pass custom style to character counter text
*/
charCounterStyle?: TextStyle;
testID: string;
}
declare const CharCounter: {
({ maxLength, charCounterStyle, testID }: CharCounterProps): JSX.Element | null;
displayName: string;
};
export default CharCounter;