1.1.4 • Published 3 years ago
@billogram/foundation-textbox v1.1.4
@billogram/foundation-textbox
React textbox components
Install
yarn add @billogram/foundation-textbox
Usage
import {
FoundationMoneyTextbox,
FoundationSearchTextbox,
FoundationTextbox,
FoundationTextboxIconSymbol,
FoundationTextboxTextSymbol,
} from '@billogram/foundation-textbox';
See types for exported types.
FoundationMoneyTextbox
FoundationSearchTextbox
FoundationTextbox
<FoundationTextbox
autoFocus={ false }
disabled={ false }
hasErrors={ false }
inputMode={ null }
maxLength={ void 0 }
onChange={ noop }
placeholder=""
symbol={ null }
type="text"
value="" />
FoundationTextboxIconSymbol
<FoundationTextbox
symbol={ (<FoundationTextboxIconSymbol icon="search" />) } />
FoundationTextboxTextSymbol
<FoundationTextbox
symbol={ (<FoundationTextboxTextSymbol text="%" />) } />
Note
This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.
License
MIT