1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00
Files
checktheroads-hyperglass/hyperglass/ui/components/QueryVrf.js

13 lines
307 B
JavaScript
Raw Normal View History

2020-10-07 09:41:58 -07:00
import * as React from 'react';
import { ChakraSelect } from 'app/components';
2020-01-17 02:50:57 -07:00
export const QueryVrf = ({ vrfs, onChange, label }) => (
<ChakraSelect
size="lg"
options={vrfs}
name="query_vrf"
aria-label={label}
2020-10-07 09:41:58 -07:00
onChange={e => onChange({ field: 'query_vrf', value: e.value })}
/>
);