For proper mining you need a lot of continuous power.
It's relatively difficult to get that with solar. You would need a large surface area, and also big batteries.
You can do this as a fun experiment though, using a small home miner like the Apollo for example, or even a Compact F. The Apollo requires up to about 300W from memory but you can configure it to consume less by running it slower. The Compact F is USB powered (5V and up to about 3A, so up to 15W for 300GH/s or so) and can also be configured to run slower, so it can be run with less than 15W, although that would be at pretty much negligible hash rate. The Apollo on the other hand can get up to 2-3TH/s.