4.8.0 • Published 9 months ago
@s-ui/react-molecule-input-field v4.8.0
MoleculeInputField
MoleculeInputField is a component that wraps a composition of Label + Textarea + Validation Messages.
Installation
$ npm install @s-ui/react-molecule-input-field --saveUsage
After importing the component MoleculeInputField like this
import MoleculeInputField from '@s-ui/react-molecule-input-field'Basic usage
<MoleculeInputField
id="second"
placeholder="Medium Input"
leftAddon="http://"
rightAddon="@schibsted.com"
label="Description"
value="In some place of La Mancha which name..."
/>With successText
<MoleculeInputField
id="description2"
label="Description"
value="In some place of La Mancha which name..."
successText="Everything ok!"
/>With errorText
<MoleculeInputField
id="notes"
label="Notes"
errorText="All wrong!"
/>With alertText
<MoleculeInputField
id="notes"
label="Notes"
alertText="All wrong!"
/>With helpText
<MoleculeInputField
id="description-inline2"
label="Description"
helpText="Tu descripción en Latin"
value="Lorem ipsum dolor sit amet"
/>Inline
<MoleculeInputField
id="description"
label="Description"
value="In some place of La Mancha which name..."
inline
/>Find full description and more examples in the demo page.
4.8.0
9 months ago
4.7.0
3 years ago
4.6.0
4 years ago
4.5.0
4 years ago
4.4.0
4 years ago
4.3.0
5 years ago
4.2.0
5 years ago
4.1.0
5 years ago
4.0.0
5 years ago
3.5.0
5 years ago
3.4.0
6 years ago
3.3.0
6 years ago
3.2.0
6 years ago
3.1.0
6 years ago
3.0.0
6 years ago
2.3.0
6 years ago
2.2.0
7 years ago
2.1.0
7 years ago
2.0.0
7 years ago
1.2.0
7 years ago
1.1.0
7 years ago