saas-js / saas-ui

The React component library for startups, built with Chakra UI.
https://saas-ui.dev
MIT License
1.32k stars 128 forks source link

AuthForm can't override SubmitButton props #196

Closed mouradkaroudi closed 8 months ago

mouradkaroudi commented 8 months ago

Can't override SubmitButton props


            redirectUrl={redirectUrl}
            title={null}
            fields={{
              submit: {
                bg:"red", // working
                variant:"outline", // not working
                colorScheme:"green", // not working
                size:"sm", // not working
              },
            }}
          />
linear[bot] commented 8 months ago

SUI-390 AuthForm can't override SubmitButton props

Pagebakers commented 8 months ago

Good catch, size should work though. Variant always get's overwritten, will release a fix shortly :)

Pagebakers commented 8 months ago

This should be fixed in the latest release. Thanks again!