Files
newsletter-hackernews/contexts/FormItem/FormItemContext.ts

10 lines
184 B
TypeScript

import React from 'react';
interface FormItemContextValue {
id: string;
}
export const FormItemContext = React.createContext<FormItemContextValue>(
{} as FormItemContextValue
);