tweb-i2p/src/components/buttonIcon.ts
2021-04-08 17:52:31 +04:00

15 lines
404 B
TypeScript

/*
* https://github.com/morethanwords/tweb
* Copyright (C) 2019-2021 Eduard Kuzmenko
* https://github.com/morethanwords/tweb/blob/master/LICENSE
*/
import Button from "./button";
const ButtonIcon = (className: string, options: Partial<{noRipple: true, onlyMobile: true}> = {}) => {
const button = Button('btn-icon', {icon: className, ...options});
return button;
};
export default ButtonIcon;