Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-05-13 19:00:42 +02:00
parent a58c52631e
commit cb3a900d39
639 changed files with 1185 additions and 887 deletions

View File

@ -13,7 +13,7 @@ const messages = defineMessages({
});
/** Type of the inner Streamfield input component. */
export type StreamfieldComponent<T> = React.ComponentType<{
type StreamfieldComponent<T> = React.ComponentType<{
value: T;
onChange: (value: T) => void;
autoFocus: boolean;
@ -104,4 +104,4 @@ const Streamfield: React.FC<IStreamfield> = ({
);
};
export default Streamfield;
export { type StreamfieldComponent, Streamfield as default };