0
Fork 0
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:
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*
:StoryGridCell sb/story-grid-cell*
:StoryGridRow sb/story-grid-row*
:StoryHeader sb/story-header*
:StoryWrapper sb/story-wrapper*}})
:StoryHeader sb/story-header*}})

View file

@ -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}]