I tried the "move to a new file" command on a component and while it moved the component, it didn't move the type definition for the component's props. Instead it imports the type definition. Unfortunately, the original file wasn't exporting the type definition so the new file needs a little cleanup. I think it'd be better to just move the prop type definition since it's no longer being used in the original file.
I tried the "move to a new file" command on a component and while it moved the component, it didn't move the type definition for the component's props. Instead it imports the type definition. Unfortunately, the original file wasn't exporting the type definition so the new file needs a little cleanup. I think it'd be better to just move the prop type definition since it's no longer being used in the original file.