mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 02:28:18 -05:00
💄 Remove deprecated StoryWrapper helper component
This commit is contained in:
parent
ebda46f748
commit
a5dd2683cd
2 changed files with 1 additions and 12 deletions
|
@ -28,5 +28,4 @@
|
|||
:storybook #js {:StoryGrid sb/story-grid*
|
||||
:StoryGridCell sb/story-grid-cell*
|
||||
:StoryGridRow sb/story-grid-row*
|
||||
:StoryHeader sb/story-header*
|
||||
:StoryWrapper sb/story-wrapper*}})
|
||||
:StoryHeader sb/story-header*}})
|
||||
|
|
|
@ -12,16 +12,6 @@
|
|||
(:require
|
||||
[rumext.v2 :as mf]))
|
||||
|
||||
(mf/defc story-wrapper*
|
||||
{::mf/props :obj}
|
||||
[{:keys [theme children]}]
|
||||
[:article {:class (stl/css :story-wrapper)}
|
||||
(if (some? theme)
|
||||
[:section {:class theme} children]
|
||||
[*
|
||||
[:section {:class "default"} children]
|
||||
[:section {:class "light"} children]])])
|
||||
|
||||
(mf/defc story-grid*
|
||||
{::mf/props :obj}
|
||||
[{:keys [children size style] :rest other}]
|
||||
|
|
Loading…
Add table
Reference in a new issue