I'm trying to display a timer inside an input field. The timer component is from an external npm package. How to get that dynamic content and display it inside an input field?