title for checkboxes

pull/2187/head
Aniket-Engg 3 years ago committed by yann300
parent 71902ecb05
commit ffd6ac95a0
  1. 4
      libs/remix-ui/checkbox/src/lib/remix-ui-checkbox.tsx
  2. 5
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -12,6 +12,7 @@ export interface RemixUiCheckboxProps {
id?: string
itemName?: string
categoryId?: string
title?: string
visibility?: string
display?: string
}
@ -26,11 +27,12 @@ export const RemixUiCheckbox = ({
onChange,
itemName,
categoryId,
title,
visibility,
display = 'flex'
}: RemixUiCheckboxProps) => {
return (
<div className="listenOnNetwork_2A0YE0 custom-control custom-checkbox" style={{ display: display, alignItems: 'center', visibility: visibility } as CSSProperties } onClick={onClick}>
<div className="listenOnNetwork_2A0YE0 custom-control custom-checkbox" title={title} style={{ display: display, alignItems: 'center', visibility: visibility } as CSSProperties } onClick={onClick}>
<input
id={id}
type={inputType}

@ -455,6 +455,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
<RemixUiCheckbox
id="checkAllEntries"
inputType="checkbox"
title="Select all Remix analysis modules"
checked={Object.values(groupedModules).map((value: any) => {
return (value.map(x => {
return x._index.toString()
@ -467,6 +468,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
<RemixUiCheckbox
id="autorunstaticanalysis"
inputType="checkbox"
title="Run static analysis after the compilation"
onClick={handleAutoRun}
checked={autoRun}
label="Autorun"
@ -521,9 +523,10 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
id="showLibWarnings"
name="showLibWarnings"
categoryId="showLibWarnings"
title="when checked, the results are also displayed for external contract libraries"
inputType="checkbox"
checked={showLibsWarning}
label="Show library files analysis"
label="Display all results"
onClick={handleShowLibsWarning}
onChange={() => {}}
/>

Loading…
Cancel
Save