import React, { FC, HTMLAttributes } from 'react';
import Grid from '@material-ui/core/Grid';
import { JsonEditor } from '../../../atoms/JsonEditor';
import { SelectByImage } from '../../../atoms/SelectByImage';
export interface Props extends HTMLAttributes {
setDialogState: any;
options: any;
}
export const IssueCredentialDialogContent: FC = ({
options,
setDialogState,
}) => {
const [editor, setEditorValue] = React.useState('');
const [selected, setSelected] = React.useState(options[0]);
const handleEditorChange = (value: any) => {
setEditorValue(value);
setDialogState({
selected: selected,
editor: value,
});
};
const handleKeySelection = (value: any) => {
setDialogState({
selected: value,
});
setSelected(value);
};
return (
);
};