mirror of https://github.com/status-im/reagent.git
default width and height
This commit is contained in:
parent
8fd3b8b51f
commit
c783d09b04
|
@ -35,8 +35,8 @@
|
|||
|
||||
(defn main [{:keys [width height]}]
|
||||
[:svg
|
||||
{:width width
|
||||
:height height
|
||||
{:width (or width 800)
|
||||
:height (or height 600)
|
||||
:style {:border "1px solid black"}}
|
||||
[:text {:style {:-webkit-user-select "none"
|
||||
:-moz-user-select "none"}
|
||||
|
|
Loading…
Reference in New Issue