rebasing to manually resolve conflicts

pull/1104/head
tizah 4 years ago
parent fb1fc3066d
commit 97663b3859
  1. 45
      libs/remix-ui/static-analyser/src/lib/Checkbox/StaticAnalyserCheckedBox.tsx
  2. 1
      libs/remix-ui/static-analyser/src/lib/ErrorRenderer.tsx
  3. 1
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -0,0 +1,45 @@
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

@ -1,5 +1,4 @@
import React from 'react' //eslint-disable-line
interface ErrorRendererProps {
message: any;
opt: any,

@ -1,3 +1,4 @@
import React, { useEffect, useState, useReducer } from 'react'
import Button from './Button/StaticAnalyserButton' // eslint-disable-line
import remixLib from '@remix-project/remix-lib'

Loading…
Cancel
Save