Add TextBox Programmatically in React TextBox component
Create a TypeScript file and import the Input modules
from ej2-inputs library as shown below.
import{Input}from'@syncfusion/ej2-inputs';
Pass the HTML Input element as parameter to the createInput method.
You can also add the icons on the input by passing buttons property value with the class
name e-input-group-icon as parameter to the createInput method.