Skip to content

How to customize Incubator.Textfield via ThemeManager? #2287

Answered by awssam
borstelmannl asked this question in Q&A
Discussion options

You must be logged in to vote

i dont know if u have found the solution but for anyone who still looking how to set a default theme for TextField component here is it

ThemeManager.setComponentTheme(
    'Incubator.TextField',
    {
        fieldStyle: {
            borderTopColor: "red",
            borderTopWidth: 2,
            borderLeftWidth: 2,
        },
        containerStyle: {
            backgroundColor: "red",
        },
    }
);

for your case you just had to type TextField (pascal case) not Textfield

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lidord-wix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants