Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
97663b38
Commit
97663b38
authored
May 05, 2021
by
tizah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rebasing to manually resolve conflicts
parent
fb1fc306
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
1 deletion
+46
-1
StaticAnalyserCheckedBox.tsx
...ic-analyser/src/lib/Checkbox/StaticAnalyserCheckedBox.tsx
+45
-0
ErrorRenderer.tsx
libs/remix-ui/static-analyser/src/lib/ErrorRenderer.tsx
+0
-1
remix-ui-static-analyser.tsx
...x-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx
+1
-0
No files found.
libs/remix-ui/static-analyser/src/lib/Checkbox/StaticAnalyserCheckedBox.tsx
0 → 100644
View file @
97663b38
import
React
from
'react'
//eslint-disable-line
interface
StaticAnalyserCheckBoxProps
{
onClick
?:
(
event
)
=>
void
onChange
?:
(
event
)
=>
void
label
?:
string
inputType
?:
string
name
?:
string
checked
?:
boolean
id
?:
string
itemName
?:
string
categoryId
?:
string
}
const
StaticAnalyserCheckedBox
=
({
id
,
label
,
onClick
,
inputType
,
name
,
checked
,
onChange
,
itemName
,
categoryId
}:
StaticAnalyserCheckBoxProps
)
=>
{
return
(
<
div
className=
"pt-1 h-80 mx-3 align-items-center listenOnNetwork_2A0YE0 custom-control custom-checkbox "
onClick=
{
onClick
}
>
<
input
id=
{
id
}
type=
{
inputType
}
onChange=
{
onChange
}
style=
{
{
verticalAlign
:
'bottom'
}
}
name=
{
name
}
className=
"custom-control-input"
checked=
{
checked
}
/>
<
label
className=
"pt-1 form-check-label custom-control-label"
id=
{
`heading${categoryId}`
}
>
{
name
?
<
h6
>
{
itemName
}
</
h6
>
:
''
}
<
p
>
{
label
}
</
p
>
</
label
>
</
div
>
)
}
export
default
StaticAnalyserCheckedBox
libs/remix-ui/static-analyser/src/lib/ErrorRenderer.tsx
View file @
97663b38
import
React
from
'react'
//eslint-disable-line
import
React
from
'react'
//eslint-disable-line
interface
ErrorRendererProps
{
interface
ErrorRendererProps
{
message
:
any
;
message
:
any
;
opt
:
any
,
opt
:
any
,
...
...
libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx
View file @
97663b38
import
React
,
{
useEffect
,
useState
,
useReducer
}
from
'react'
import
React
,
{
useEffect
,
useState
,
useReducer
}
from
'react'
import
Button
from
'./Button/StaticAnalyserButton'
// eslint-disable-line
import
Button
from
'./Button/StaticAnalyserButton'
// eslint-disable-line
import
remixLib
from
'@remix-project/remix-lib'
import
remixLib
from
'@remix-project/remix-lib'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment