How to make form components

I would like to make my own input component wrapping the native input element. Is there a way to pass down the native input attributes to the native input? How are people making there own form components?

Something like this?

  render() {
    return <input {...nativeProps} />;

Never did this, but would recommend looking into the ionic’s ion-input first :thinking: