how do you pas a resolver like findAllComponentDefinitions https://github.com/reactjs/react-docgen#resolver