Skip to content

Commit

Permalink
run yarn docs:typescript:formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
zanivan committed Jul 11, 2023
1 parent c2b9059 commit 71ee6d1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function BasicFormControl() {
<React.Fragment>
<FormControl defaultValue="" required>
<Label>Name</Label>
<Input className="CustomInput" />
<Input placeholder="Write your name here" className="CustomInput" />
<HelperText />
</FormControl>
<Styles />
Expand Down Expand Up @@ -126,7 +126,7 @@ function Styles() {
padding: 8px 12px;
border-radius: 8px;
color: ${isDarkMode ? grey[300] : grey[900]};
background: ${isDarkMode ? grey[900] : grey[50]};
background: ${isDarkMode ? grey[900] : '#fff'};
border: 1px solid ${isDarkMode ? grey[800] : grey[300]};
}
.CustomInput .${inputClasses.input}:hover {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<React.Fragment>
<FormControl defaultValue="" required>
<Label>Name</Label>
<Input className="CustomInput" />
<Input placeholder="Write your name here" className="CustomInput" />
<HelperText />
</FormControl>
<Styles />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function BasicFormControl() {
return (
<FormControl defaultValue="" required>
<Label>Name</Label>
<StyledInput />
<StyledInput placeholder="Write your name here" />
<HelperText />
</FormControl>
);
Expand All @@ -24,7 +24,7 @@ const StyledInput = styled(Input)(
font-weight: 400;
line-height: 1.5;
color: ${theme.palette.mode === 'dark' ? grey[300] : grey[900]};
background: ${theme.palette.mode === 'dark' ? grey[900] : grey[50]};
background: ${theme.palette.mode === 'dark' ? grey[900] : '#fff'};
border: 1px solid ${theme.palette.mode === 'dark' ? grey[800] : grey[300]};
padding: 8px 12px;
border-radius: 8px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<FormControl defaultValue="" required>
<Label>Name</Label>
<StyledInput />
<StyledInput placeholder="Write your name here" />
<HelperText />
</FormControl>
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ export default function BasicFormControl() {
<FormControl defaultValue="" required>
<Label>Name</Label>
<Input
placeholder="Write your name here"
slotProps={{
input: {
className:
'w-80 text-sm font-normal leading-normal text-slate-900 dark:text-slate-300 bg-slate-50 dark:bg-slate-900 border border-solid border-slate-300 dark:border-slate-800 px-3 py-2 rounded-lg hover:bg-slate-100 hover:dark:bg-slate-900 hover:border-slate-400 hover:dark:border-slate-700 focus:outline-0 focus:shadow-outline-purple',
'w-80 text-sm font-normal leading-normal text-slate-900 dark:text-slate-300 bg-white dark:bg-slate-800 border border-solid border-slate-200 dark:border-slate-700 px-3 py-2 rounded-lg hover:bg-slate-100 hover:dark:bg-slate-900 hover:border-slate-400 hover:dark:border-slate-700 focus:outline-0 focus:shadow-outline-purple',
},
}}
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<FormControl defaultValue="" required>
<Label>Name</Label>
<Input
placeholder="Write your name here"
slotProps={{
input: {
className:
'w-80 text-sm font-normal leading-normal text-slate-900 dark:text-slate-300 bg-slate-50 dark:bg-slate-900 border border-solid border-slate-300 dark:border-slate-800 px-3 py-2 rounded-lg hover:bg-slate-100 hover:dark:bg-slate-900 hover:border-slate-400 hover:dark:border-slate-700 focus:outline-0 focus:shadow-outline-purple',
'w-80 text-sm font-normal leading-normal text-slate-900 dark:text-slate-300 bg-white dark:bg-slate-800 border border-solid border-slate-200 dark:border-slate-700 px-3 py-2 rounded-lg hover:bg-slate-100 hover:dark:bg-slate-900 hover:border-slate-400 hover:dark:border-slate-700 focus:outline-0 focus:shadow-outline-purple',
},
}}
/>
Expand Down

0 comments on commit 71ee6d1

Please sign in to comment.