I have created a button snippet and want to integrate to custom liquid block in product page!

please guide to create a new functional button block, thx