mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
13 lines
307 B
JavaScript
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 })}
|
|
/>
|
|
);
|