1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00
2020-10-07 09:41:58 -07:00

13 lines
307 B
JavaScript

import * as React from 'react';
import { ChakraSelect } from 'app/components';
export const QueryVrf = ({ vrfs, onChange, label }) => (
<ChakraSelect
size="lg"
options={vrfs}
name="query_vrf"
aria-label={label}
onChange={e => onChange({ field: 'query_vrf', value: e.value })}
/>
);