junh_eee(이준희)
2 years ago
5 changed files with 32 additions and 9 deletions
@ -0,0 +1,17 @@ |
|||||||
|
import { CustomInput, Input } from 'reactstrap'; |
||||||
|
import React from 'react'; |
||||||
|
|
||||||
|
export const selectableRowsComponent = React.forwardRef( |
||||||
|
({ onClick, ...rest }, ref) => { |
||||||
|
console.log(rest); |
||||||
|
return ( |
||||||
|
<CustomInput |
||||||
|
id='check' |
||||||
|
type='checkbox' |
||||||
|
// forwardref={ref}
|
||||||
|
onClick={onClick} |
||||||
|
{...rest} |
||||||
|
/> |
||||||
|
); |
||||||
|
} |
||||||
|
); |
Loading…
Reference in new issue