mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
move ui & assets to package directory
This commit is contained in:
13
hyperglass/ui/components/QueryVrf.js
Normal file
13
hyperglass/ui/components/QueryVrf.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from "react";
|
||||
import ChakraSelect from "~/components/ChakraSelect";
|
||||
|
||||
export default ({ vrfs, onChange }) => {
|
||||
return (
|
||||
<ChakraSelect
|
||||
size="lg"
|
||||
onChange={e => onChange({ field: "query_vrf", value: e.value })}
|
||||
name="query_vrf"
|
||||
options={vrfs}
|
||||
/>
|
||||
);
|
||||
};
|
Reference in New Issue
Block a user