1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-23 10:48:06 +00:00
thatmattlove-hyperglass/hyperglass/ui/components/QueryVrf.js
2020-07-05 17:20:10 -07:00

14 lines
333 B
JavaScript

import * as React from "react";
import ChakraSelect from "~/components/ChakraSelect";
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 })}
/>
);
export default QueryVrf;