original_text
stringlengths 1
23.3k
| tokenized_code
stringlengths 1
25.1k
| masked_code
stringlengths 1
23.6k
|
|---|---|---|
// export default noDataIcon
|
// export default noDataIcon
|
// export default noDataIcon
|
import React from 'react'
|
import React from 'react '
|
import React [MASK] 'react '
|
import BasicValue from './BasicValue'
|
import BasicValue from './BasicValue '
|
import BasicValue from './BasicValue '
|
}
|
}
|
}
|
const Template = args => <BasicValue {...args} />
|
const Template = args = > < BasicValue { ... args } / >
|
const [MASK] = args = > < BasicValue { ... [MASK] } / [MASK]
|
export const Default = Template.bind({})
|
export const Default = Template.bind ( { } )
|
export const [MASK] = Template.bind ( [MASK] } [MASK]
|
}
|
}
|
}
|
import InputLayout from '../input-layout'
|
import InputLayout from ' .. /input-layout '
|
[MASK] InputLayout from ' .. /input-layout '
|
import Label from '@protoweb/label'
|
import Label from ' @ protoweb/label '
|
import Label from [MASK] @ protoweb/label '
|
import React from 'react'
|
import React from 'react '
|
import React from 'react [MASK]
|
import './assets/style.scss'
|
import './assets/style.scss '
|
[MASK] './assets/style.scss [MASK]
|
import { InputHOC } from '@protoweb/utils'
|
import { InputHOC } from ' @ protoweb/utils '
|
[MASK] { InputHOC } from ' @ protoweb/utils '
|
import { IFormPropTypes } from '@protocommon/types'
|
import { IFormPropTypes } from ' @ protocommon/types '
|
import { [MASK] } from ' @ protocommon/types '
|
label: string
|
label : string
|
label : [MASK]
|
value?: string | number | Date
|
value ? : string | number | Date
|
[MASK] ? : string | number | Date
|
source: string
|
source : string
|
source : string
|
onClick?: () => void
|
onClick ? : ( ) = > void
|
onClick ? : ( ) = > void
|
tooltip?: string
|
tooltip ? : string
|
tooltip [MASK] : [MASK]
|
width?: number
|
width ? : number
|
width ? [MASK] number
|
height?: number
|
height ? : number
|
[MASK] ? : number
|
}
|
}
|
}
|
labelPosition?: 'left' | 'right' | 'top' | 'bottom'
|
labelPosition ? : 'left ' | 'right ' | 'top ' | 'bottom '
|
labelPosition ? : 'left [MASK] [MASK] 'right ' | 'top ' | 'bottom '
|
valueStyle?: { container?: any
|
valueStyle ? : { container ? : any
|
valueStyle ? : { container ? : any
|
element?: any }
|
element ? : any }
|
[MASK] ? [MASK] any }
|
)
|
)
|
)
|
}
|
}
|
}
|
export default BasicValue
|
export default BasicValue
|
export default BasicValue
|
const BasicFormValue = InputHOC<BasicValueProps>(BasicValue)
|
const BasicFormValue = InputHOC < BasicValueProps > ( BasicValue )
|
const BasicFormValue = InputHOC < BasicValueProps > ( BasicValue )
|
export { BasicFormValue }
|
export { BasicFormValue }
|
[MASK] { BasicFormValue }
|
import Block from '@protoweb/block'
|
import Block from ' @ protoweb/block '
|
import Block from ' @ protoweb/block '
|
import React from 'react'
|
import React from 'react '
|
import React from 'react '
|
color: string
|
color : string
|
color : string
|
width: number
|
width : number
|
width : number
|
gap: number
|
gap : number
|
gap : number
|
style: any
|
style : any
|
style : any
|
)
|
)
|
)
|
}
|
}
|
}
|
export default Divider
|
export default Divider
|
[MASK] default Divider
|
import React from 'react'
|
import React from 'react '
|
import React from 'react '
|
import Divider from './index'
|
import Divider from './index '
|
import Divider from './index '
|
}
|
}
|
}
|
const Template = args => <Divider {...args} />
|
const Template = args = > < Divider { ... args } / >
|
const Template = args = > < Divider { [MASK] args } / >
|
export const Default = Template.bind({})
|
export const Default = Template.bind ( { } )
|
export const Default = Template.bind ( { } )
|
import React from 'react'
|
import React from 'react '
|
import React from 'react '
|
return <span style={{ fontSize: 20 }}>+</span>
|
return < span style= { { fontSize : 20 } } > + < /span >
|
return < span style= { { fontSize : [MASK] } } > + < /span [MASK]
|
}
|
}
|
}
|
import React from 'react'
|
import React from 'react '
|
import React from [MASK] '
|
import { CustomIconAdd } from './index'
|
import { CustomIconAdd } from './index '
|
import { CustomIconAdd } from './index '
|
}
|
}
|
}
|
const Template = args => <CustomIconAdd {...args} />
|
const Template = args = > < CustomIconAdd { ... args } / >
|
const [MASK] = args = [MASK] < CustomIconAdd [MASK] ... args } / >
|
export const Default = Template.bind({})
|
export const Default = Template.bind ( { } )
|
export const Default [MASK] Template.bind ( { } )
|
import RegexInput from './RegexInput'
|
import RegexInput from './RegexInput '
|
[MASK] RegexInput from './RegexInput '
|
export default RegexInput
|
export default RegexInput
|
export default RegexInput
|
import React, { useState, useEffect } from 'react'
|
import React , { useState , useEffect } from 'react '
|
import React , [MASK] useState , useEffect } [MASK] 'react '
|
import { TextField } from '@protolibrary/components'
|
import { TextField } from ' @ protolibrary/components '
|
import { TextField } from ' [MASK] [MASK] '
|
import { InputHOC } from '@protoweb/utils'
|
import { InputHOC } from ' @ protoweb/utils '
|
import { InputHOC } from ' @ protoweb/utils '
|
import { IFormPropTypes } from '@protocommon/types'
|
import { IFormPropTypes } from ' @ protocommon/types '
|
[MASK] { IFormPropTypes } from ' @ protocommon/types [MASK]
|
regex: RegExp
|
regex : RegExp
|
regex : RegExp
|
value?: string
|
value ? : string
|
value [MASK] : string
|
onChange?: (event: any, value: string) => void
|
onChange ? : ( event : any , value : string ) = > void
|
onChange ? : ( event : any , value : string ) = > void
|
onBlur?: (event: any, value: string) => void
|
onBlur ? : ( event : any , value : string ) = > void
|
onBlur ? : ( [MASK] [MASK] any , value [MASK] string ) = > void
|
placeholder?: string
|
placeholder ? : string
|
placeholder ? : [MASK]
|
style?: any
|
style ? : any
|
style ? : any
|
clearable?: boolean
|
clearable ? : boolean
|
clearable ? : boolean
|
disabled?: boolean
|
disabled ? : boolean
|
disabled ? : boolean
|
maxLength?: number
|
maxLength ? : number
|
maxLength ? : number
|
const [internalValue, setInternalValue] = useState<string>(value)
|
const [ internalValue , setInternalValue ] = useState < string > ( value )
|
[MASK] [MASK] [MASK] , setInternalValue ] = useState < string > [MASK] value )
|
const [error, setError] = useState<string | null>(null)
|
const [ error , setError ] = useState < string | null > ( null )
|
const [ error , setError [MASK] = useState < string | null [MASK] ( null )
|
setError(null)
|
setError ( null )
|
setError ( null )
|
setInternalValue(newValue)
|
setInternalValue ( newValue )
|
setInternalValue ( newValue )
|
onChange?.(e, newValue)
|
onChange ? . ( e , newValue )
|
onChange ? . ( e , [MASK] )
|
setError('Invalid input')
|
setError ( 'Invalid input ' )
|
setError ( 'Invalid input ' [MASK]
|
}
|
}
|
[MASK]
|
onBlur?.(e, internalValue)
|
onBlur ? . ( e , internalValue )
|
onBlur ? . ( e , internalValue )
|
}
|
}
|
[MASK]
|
setInternalValue(value)
|
setInternalValue ( value )
|
setInternalValue [MASK] [MASK] )
|
}, [value])
|
} , [ value ] )
|
} , [MASK] value ] )
|
)
|
)
|
[MASK]
|
}
|
}
|
}
|
export default InputHOC<IRegexInputProps>(RegexInput)
|
export default InputHOC < IRegexInputProps > ( RegexInput )
|
export default InputHOC [MASK] IRegexInputProps > [MASK] RegexInput [MASK]
|
export { RegexInput }
|
export { RegexInput }
|
export { RegexInput }
|
import React from 'react'
|
import React from 'react '
|
import React from 'react [MASK]
|
import { Form } from '@protolibrary/components'
|
import { Form } from ' @ protolibrary/components '
|
import { [MASK] } from ' @ protolibrary/components '
|
import RegexInputWithHOC, { RegexInput } from './RegexInput'
|
import RegexInputWithHOC , { RegexInput } from './RegexInput '
|
import RegexInputWithHOC , [MASK] RegexInput } from './RegexInput '
|
}
|
}
|
[MASK]
|
const Template = args => <RegexInput {...args} />
|
const Template = args = > < RegexInput { ... args } / >
|
const Template = args = [MASK] < RegexInput { [MASK] args } / >
|
)
|
)
|
)
|
export const Default = Template.bind({})
|
export const Default = Template.bind ( { } )
|
export const Default = Template.bind ( { } )
|
export const FormUsage = TemplateForm.bind({})
|
export const FormUsage = TemplateForm.bind ( { } )
|
export const FormUsage = TemplateForm.bind ( [MASK] } )
|
}
|
}
|
}
|
}
|
}
|
}
|
import SimpleCountdown from './SimpleCountDown'
|
import SimpleCountdown from './SimpleCountDown '
|
import SimpleCountdown from './SimpleCountDown [MASK]
|
export default SimpleCountdown
|
export default SimpleCountdown
|
export default SimpleCountdown
|
import { Block, Col, Element } from '@protolibrary/components'
|
import { Block , Col , Element } from ' @ protolibrary/components '
|
[MASK] [MASK] Block , Col [MASK] Element } from ' @ protolibrary/components '
|
import React, { useEffect, useRef, useState } from 'react'
|
import React , { useEffect , useRef , useState } from 'react '
|
import React [MASK] { useEffect , useRef [MASK] useState } from 'react [MASK]
|
deadline: any
|
deadline : any
|
deadline [MASK] any
|
setMobileStatement: any
|
setMobileStatement : any
|
setMobileStatement : any
|
mobileStatement: any
|
mobileStatement : any
|
mobileStatement : any
|
const [time, setTime] = useState({ days: 0, hours: 0, minutes: 0, seconds: 0 })
|
const [ time , setTime ] = useState ( { days : 0 , hours : 0 , minutes : 0 , seconds : 0 } )
|
const [ time , setTime ] = useState ( [MASK] days : 0 , hours [MASK] 0 , minutes : 0 , seconds : 0 [MASK] )
|
const [stop, setStop] = useState(false)
|
const [ stop , setStop ] = useState ( false )
|
const [ stop , [MASK] [MASK] = useState [MASK] [MASK] )
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.