cf-component-input
Cloudflare Input Component
Installation
Installation with yarn is recommended
$ yarn add cf-component-input
Usage
import React from 'react';import Input LabeledInput from 'cf-component-input'; Component { ; thisstate = inputValue: 'Hello World' ; thishandleChange = thishandleChange; } { const value = etargetvalue; this; } { return <div> <Input ="example" = = /> <Input ="search" ="example" = = /> <Input ="example" = = /> <LabeledInput ="@" ="example" = = /> </div> ; } ;