6 lines
211 B
TypeScript
6 lines
211 B
TypeScript
import type { FormFieldInputProps } from '@keystatic/core';
|
|
|
|
export default function ImageInput(props: FormFieldInputProps<any>) {
|
|
return <input type="file" value={props.value} onChange={props.onChange} />;
|
|
}
|