How to create custom form element

Hello all can you help me with how can I create custom form element in react