Rounded corners Component

Hope this is useful, I found several related posts and just wanted to provide forum searchers a working reusable solution to adding rounded corners to a Component.