Repository URL to install this package:
|
Version:
8.0.0 ▾
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CustomSelect should match a snapshot 1`] = `
<div
className="CustomSelect"
>
<InputLabel>
Select country
</InputLabel>
<e
caretIcon={
<Icon
className="rrs-caretIcon"
dimension={null}
icon={[Function]}
semantic={null}
width="22px"
/>
}
disabled={false}
name="test name"
noSelectionLabel=""
options={
Array [
Object {
"text": "Description",
"value": "descr",
},
]
}
prefix=""
selectedValue=""
/>
</div>
`;
exports[`CustomSelect should match a snapshot when its not valid 1`] = `
<div
className="CustomSelect CustomSelect--invalid"
>
<InputLabel>
Select country
</InputLabel>
<e
caretIcon={
<Icon
className="rrs-caretIcon"
dimension={null}
icon={[Function]}
semantic={null}
width="22px"
/>
}
disabled={false}
name="test name"
noSelectionLabel=""
options={
Array [
Object {
"text": "Description",
"value": "descr",
},
]
}
prefix=""
selectedValue=""
/>
<InputFeedback
type="error"
>
Not selected
</InputFeedback>
</div>
`;
exports[`CustomSelect should match a snapshot when there is a note 1`] = `
<div
className="CustomSelect"
>
<InputLabel>
Select country
</InputLabel>
<e
caretIcon={
<Icon
className="rrs-caretIcon"
dimension={null}
icon={[Function]}
semantic={null}
width="22px"
/>
}
disabled={false}
name="test name"
noSelectionLabel=""
options={
Array [
Object {
"text": "Description",
"value": "descr",
},
]
}
prefix=""
selectedValue=""
/>
<InputFeedback
type="note"
>
Some note
</InputFeedback>
</div>
`;