Eduard Kuzmenko
4 years ago
16 changed files with 67 additions and 60 deletions
@ -0,0 +1,14 @@ |
|||||||
|
/* |
||||||
|
* https://github.com/morethanwords/tweb
|
||||||
|
* Copyright (C) 2019-2021 Eduard Kuzmenko |
||||||
|
* https://github.com/morethanwords/tweb/blob/master/LICENSE
|
||||||
|
*/ |
||||||
|
|
||||||
|
import Button from "./button"; |
||||||
|
|
||||||
|
const ButtonCorner = (options: Partial<{className: string, icon: string, noRipple: true, onlyMobile: true, asDiv: boolean}> = {}) => { |
||||||
|
const button = Button('btn-circle btn-corner z-depth-1' + (options.className ? ' ' + options.className : ''), options); |
||||||
|
return button; |
||||||
|
}; |
||||||
|
|
||||||
|
export default ButtonCorner; |
Loading…
Reference in new issue