Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sample_Argon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dushyanth Prabhu
sample_Argon
Commits
b96daf25
Commit
b96daf25
authored
Jan 25, 2022
by
Shreenidhi Bhat
Browse files
Options
Downloads
Patches
Plain Diff
textarea
parent
eb749c61
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/components/TextArea/TextArea.scss
+29
-0
29 additions, 0 deletions
src/components/TextArea/TextArea.scss
src/components/TextArea/index.jsx
+18
-0
18 additions, 0 deletions
src/components/TextArea/index.jsx
src/containers/Login/index.jsx
+4
-2
4 additions, 2 deletions
src/containers/Login/index.jsx
with
51 additions
and
2 deletions
src/components/TextArea/TextArea.scss
0 → 100644
+
29
−
0
View file @
b96daf25
.form-control
{
display
:
block
;
width
:
46%
;
height
:
calc
(
1
.5em
+
1
.25rem
+
2px
);
padding
:
0
.625rem
0
.75rem
;
font-size
:
0
.875rem
;
font-weight
:
400
;
line-height
:
1
.5
;
color
:
#8898aa
;
background-color
:
#fff
;
background-clip
:
padding-box
;
border
:
1px
solid
#dee2e6
;
border-radius
:
0
.25rem
;
transition
:
all
0
.15s
cubic-bezier
(
0
.68
,
-0
.55
,
0
.265
,
1
.55
);
}
.form-control
{
font-size
:
.875rem
;
height
:
calc
(
1
.5em
+
1
.25rem
+
5px
);
transition
:
all
.15s
ease-in-out
;
}
.form-control
:focus
{
color
:
#8898aa
;
border-color
:
#5e72e4
;
outline
:
0
;
background-color
:
#fff
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/components/TextArea/index.jsx
0 → 100644
+
18
−
0
View file @
b96daf25
import
{
type
}
from
'
@testing-library/user-event/dist/type
'
;
import
React
from
'
react
'
import
PropTypes
from
"
prop-types
"
;
import
"
./TextArea.scss
"
;
function
TextArea
(
props
)
{
const
{
customClass
,
value
,
handleChange
,
placeholder
}
=
props
;
return
(
<
div
>
<
input
className
=
{
`
${
customClass
}
`
}
value
=
{
value
}
onChange
=
{
handleChange
}
placeholder
=
{
placeholder
}
/>
</
div
>
)
}
export
default
TextArea
This diff is collapsed.
Click to expand it.
src/containers/Login/index.jsx
+
4
−
2
View file @
b96daf25
import
React
from
"
react
"
;
import
React
from
"
react
"
;
import
TextArea
from
"
../../components/TextArea
"
;
function
Login
(
props
)
{
function
Login
(
props
)
{
return
(
return
(
<
div
>
<
div
>
Login
<
div
className
=
"form-group"
>
<
textarea
rows
=
"4"
className
=
"form-control"
placeholder
=
"A few words about you ..."
>
A beautiful Dashboard for Bootstrap 4. It is Free and Open Source.
</
textarea
>
</
div
>
</
div
>
</
div
>
)
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment