mirror of
https://github.com/penpot/penpot.git
synced 2025-08-01 15:39:19 +02:00
💄 Move the stub design system component to its own ds folder
This commit is contained in:
parent
087d0e90e6
commit
24b607cad3
7 changed files with 4 additions and 4 deletions
20
frontend/src/app/main/ui/ds.cljs
Normal file
20
frontend/src/app/main/ui/ds.cljs
Normal file
|
@ -0,0 +1,20 @@
|
|||
;; This Source Code Form is subject to the terms of the Mozilla Public
|
||||
;; License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
;;
|
||||
;; Copyright (c) KALEIDOS INC
|
||||
|
||||
(ns app.main.ui.ds
|
||||
(:require
|
||||
[app.main.ui.ds.buttons.simple-button :as sb]
|
||||
[rumext.v2 :as mf]))
|
||||
|
||||
(mf/defc story-wrapper
|
||||
{::mf/wrap-props false}
|
||||
[{:keys [children]}]
|
||||
[:.default children])
|
||||
|
||||
(def default
|
||||
"A export used for storybook"
|
||||
#js {:SimpleButton sb/simple-button
|
||||
:StoryWrapper story-wrapper})
|
Loading…
Add table
Add a link
Reference in a new issue