tweb-i2p/src/components/buttonIcon.ts
Eduard Kuzmenko aae32daf16 FF64 fixes:
Fix grid (slider) layout
Fix button dropdowns
Fix ripple
Disabled parallax
2021-04-23 16:44:19 +04:00

15 lines
420 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, asDiv: boolean}> = {}) => {
const button = Button('btn-icon', {icon: className, ...options});
return button;
};
export default ButtonIcon;