createFactory and displayName for React elements