0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-15 03:28:25 -05:00

💄 Remove deprecated StoryWrapper helper component

This commit is contained in:
Belén Albeza 2024-07-12 11:53:36 +02:00
parent ebda46f748
commit a5dd2683cd
2 changed files with 1 additions and 12 deletions

View file

@ -28,5 +28,4 @@
:storybook #js {:StoryGrid sb/story-grid* :storybook #js {:StoryGrid sb/story-grid*
:StoryGridCell sb/story-grid-cell* :StoryGridCell sb/story-grid-cell*
:StoryGridRow sb/story-grid-row* :StoryGridRow sb/story-grid-row*
:StoryHeader sb/story-header* :StoryHeader sb/story-header*}})
:StoryWrapper sb/story-wrapper*}})

View file

@ -12,16 +12,6 @@
(:require (:require
[rumext.v2 :as mf])) [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/defc story-grid*
{::mf/props :obj} {::mf/props :obj}
[{:keys [children size style] :rest other}] [{:keys [children size style] :rest other}]