} fileName="somename.pdf">
{({ blob, url, loading, error }) =>
loading ? 'Loading document...' : 'Download now!'
}
);
```
> **Protip:** You still have access to blob's data if you need it.
#### Access blob data
However, react-pdf does not stick to just download the document but also enables direct access to the document's blob data for any other possible use case. All you have to do is make use of `Loading ...
;
if (instance.error) return