Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 47x 5x 9x 33x | import Input from '../Input/index.js'
import Mask from '../Mask/index.js'
import Password from '../Password/index.js'
export default ({type, ...rest}) => {
switch (type) {
case 'sui-password':
return [Password, {...rest, type}]
case 'mask':
return [Mask, {...rest}]
default:
return [Input, {...rest, type}]
}
}
|