Some components require a “harness” to render in a useful way. ![]() When writing stories, decorators are typically used to wrap stories with extra markup or context mocking. Many addons define decorators to augment your stories with extra rendering or gather details about how your story is rendered. A decorator is a way to wrap a story in extra “rendering” functionality.
0 Comments
Leave a Reply. |