import { EyeIcon, EyeOffIcon } from '@heroicons/react/solid'; import React, { useContext } from 'react'; import { FieldContext } from '../../../Contexts'; export interface AppendProps { hidden: boolean; set: (e: boolean) => void; } export default function Append(props: AppendProps): JSX.Element | null { const context = useContext(FieldContext); const { hidden, set } = props; return ( ); }