Align Left Button Contents – Mantine UI Button

Align Left the contents in a button like icon, button text in mantine UI. Customizing Mantine button styles

styles={{ inner: { justifyContent: 'flex-start' } }}

            leftIcon={<Icon />}
            styles={{ inner: { justifyContent: 'flex-start' } }}
            onClick={() => handleTypeSelection(type as QuestionType)}

About the Author: smartcoder

You might like

Leave a Reply

Your email address will not be published. Required fields are marked *