diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-10 07:26:57 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-10 07:26:57 +0800 |
commit | 433fb3597dc19cb223a2b8d0e373502042241abb (patch) | |
tree | dc9cccf7b1cc0d1c3d2d30986961e288fba4341e /packages/instant/src/util | |
parent | 7460f2796a2a549eaed15051009e35229fb1280f (diff) | |
download | dexon-sol-tools-433fb3597dc19cb223a2b8d0e373502042241abb.tar.gz dexon-sol-tools-433fb3597dc19cb223a2b8d0e373502042241abb.tar.zst dexon-sol-tools-433fb3597dc19cb223a2b8d0e373502042241abb.zip |
feat: refactor button styles and add href to Text
Diffstat (limited to 'packages/instant/src/util')
-rw-r--r-- | packages/instant/src/util/util.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/instant/src/util/util.ts b/packages/instant/src/util/util.ts index 232a86850..aeb68956b 100644 --- a/packages/instant/src/util/util.ts +++ b/packages/instant/src/util/util.ts @@ -2,4 +2,5 @@ import * as _ from 'lodash'; export const util = { boundNoop: _.noop.bind(_), + createHrefOnClick: (href: string) => () => window.open(href, '_blank'), }; |