adding new logic for precomposed buttons. otherwise, you can use old mixin.

Signed-off-by: Bravocado <bravocado.project@gmail.com>