/**
* @description simple creator for btn
* @param {string} type button's type
*/
function btnFactory(type) {
if (type === 'S') {
return (
<button class='square'>click</button>
)
} else if (type === 'C') {
return (
<button class='circle'>click</button>
)
}
}