Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
indiscale-files-ui-react
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
indiscale-files-ui-react
Commits
8e566dce
Commit
8e566dce
authored
2 years ago
by
Jose Manuel Serrano Amaut
Browse files
Options
Downloads
Patches
Plain Diff
[WIP]: Refactor text in dropzone demo page
parent
d585b8fb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pages/demo/DropzoneDemoPage.jsx
+5
-7
5 additions, 7 deletions
src/pages/demo/DropzoneDemoPage.jsx
with
5 additions
and
7 deletions
src/pages/demo/DropzoneDemoPage.jsx
+
5
−
7
View file @
8e566dce
...
...
@@ -29,9 +29,8 @@ const DropzoneDemoPage = (props) => {
<
MainParagraph
>
The "dropzone" component is a special
{
"
"
}
<
CodeHighlight
>
input
</
CodeHighlight
>
enhanced by the capability of
allowing users to either drag and drop files there or picking files
from a file dialog.
<
CodeHighlight
>
input
</
CodeHighlight
>
enhanced by the ability to allow
users to drag and drop files there or choose files from a file dialog.
</
MainParagraph
>
<
DescParagraph
>
...
...
@@ -307,7 +306,7 @@ const DropzoneDemoPage = (props) => {
Dropzone with the
{
"
"
}
<
TypeHighlight
>
headerConfig.uploadFiles
</
TypeHighlight
>
prop set
to
<
TypeHighlight
>
true
</
TypeHighlight
>
will display a button
which starts the upload process.
which starts the upload process.
</
li
>
<
li
>
Dropzone with the
{
"
"
}
...
...
@@ -350,9 +349,8 @@ const DropzoneDemoPage = (props) => {
Dropzone with the
{
"
"
}
<
TypeHighlight
>
footerConfig.allowedTypesLabel
</
TypeHighlight
>
{
"
"
}
prop set to
<
TypeHighlight
>
false
</
TypeHighlight
>
will hide the
label that indicates the files types allowed.
<
br
/>
This label will be hidden
label that indicates the files types allowed. This label will be
hidden
<
strong
>
when the "upload" process is active
</
strong
>
.
</
li
>
<
li
>
...
...
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