UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

12 lines (9 loc) 678 B
import { hintTextSize } from '../formTokens.js'; import '../../Typography/Heading/Heading.js'; import { Text } from '../../Typography/Text/Text.js'; import '../../Typography/Code/Code.js'; import '../../Typography/Display/Display.js'; import { jsxs } from 'react/jsx-runtime'; var CharacterCounter=function CharacterCounter(_ref){var currentCount=_ref.currentCount,maxCount=_ref.maxCount,_ref$size=_ref.size,size=_ref$size===void 0?'medium':_ref$size;return jsxs(Text,{variant:"caption",size:hintTextSize[size],weight:"regular",color:"surface.text.gray.muted",children:[currentCount,"/",maxCount]});}; export { CharacterCounter }; //# sourceMappingURL=CharacterCounter.js.map