@momentum-ui/react
Version:
Cisco Momentum UI framework for ReactJs applications
21 lines (19 loc) • 441 B
JavaScript
import React from 'react';
import { Input } from '@momentum-ui/react';
export default function InputWarning() {
return (
<Input
name='inputWarning'
label='Warning Input'
htmlId='inputWarning'
containerSize='small-12 medium-6'
messageArr={[
{
message: 'This is where the warning message would be.',
type: 'warning',
},
]}
value='Warning Text'
/>
);
}