Open
Description
Only when I check the source code did I guess right about how to use it,
async function scanFiles() {
const results = await scanner.run({
rootDir: '.',
crawlFrom: 'app/react',
includeSubComponents: true,
+ components: {
+ Switch: true,
+ },
importedFrom: 'react-router-dom',
});
it is also a little counter-intuitive. do you the author, think it should be:
...
components: ['Switch']
...
Metadata
Assignees
Labels
No labels