Support providing custom StyleSheet instance.
tkh44 opened this issue · 2 comments
tkh44 commented
Since there are multiple libraries out there that are built on glamor, if you allow the user to pass in the instance of StyleSheet
from their lib you can support them all!
If this sounds like something you would like to add I can do most of the legwork. I have already tested this with cxs to test restyles
.
tkh44 commented
Maybe something like
import { sheet } from 'cxs'
expect.addSnapshotSerializer(serializer(sheet))
...
kentcdodds commented
Sounds great! Though I'd prefer to not break the current API. If you can make that work, let's do it!