import React, { FC } from 'react'; import { Input, Field, FieldSet, Button, Form } from '@grafana/ui'; export interface Props { orgName: string; onSubmit: (orgName: string) => void; } interface FormDTO { orgName: string; } const OrgProfile: FC = ({ onSubmit, orgName }) => { return (
onSubmit(orgName)}> {({ register }) => (
)}
); }; export default OrgProfile;