@momentum-ui/react
Version:
Cisco Momentum UI framework for ReactJs applications
18 lines (16 loc) • 389 B
JavaScript
import React from 'react';
import { Input } from '@momentum-ui/react';
export default function InputError() {
return (
<Input
name='inputError'
label='Error Input'
htmlId='inputError'
containerSize='medium-6'
messageArr={[
{ message: 'This is where the error message would be.', type: 'error' },
]}
value='Error Text'
/>
);
}