You should be fine.
As stated a 10S Cassette won't like it but a chain ring should be fine. You'll probably be fine on a double too. Going the other direction 7 speed cranks don't like 10s chains as it can drop between the wider 7 s chain ring spacing.
Narrower 10s Derailleurs also don't often like 6-7-8 chains.