import React from 'react' import {View} from 'react-native' import {Text} from '../../util/text/Text' import {s} from 'lib/styles' const MAX_TEXT_LENGTH = 256 const DANGER_TEXT_LENGTH = MAX_TEXT_LENGTH export function CharProgress({count}: {count: number}) { const progressColor = count > DANGER_TEXT_LENGTH ? '#e60000' : undefined return ( <> {MAX_TEXT_LENGTH - count} { null /* TODO count > DANGER_TEXT_LENGTH ? ( ) : ( )*/ } ) }