Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User

React TextField variant settings

25.02.2021 (👁651)

React TextField variant settings

 

Material UI Form Text input with variant="outlined"

 

 

<TextField

id="ctltitle"

label="Title"

variant="outlined"

//variant="filled"

value={this.state.title}

fullWidth

color="primary"

InputLabelProps={{

shrink: true,

}}

/>

 

 

React Material UI: Textfield with variant="filled"

                            <TextField

                                id="ctltitle"

                                label="Title"

                                //variant="outlined"

                                variant="filled"

                                value={this.state.title}

                                fullWidth

                                color="primary"

                                InputLabelProps={{

                                    shrink: true,

                                }}

                            />

 

React Material UI: Textfield without  variant  Attibute

 

                            <TextField

                                id="ctltitle"

                                label="Title"

                                //variant="outlined"

                                //variant="filled"

                                value={this.state.title}

                                fullWidth

                                color="primary"

                                InputLabelProps={{

                                    shrink: true,

                                }}

                            />