Mohammad Asif cf937194cb Removed un-waned things 1. | 5 mesiacov pred | |
---|---|---|
.. | ||
dist | 5 mesiacov pred | |
README.md | 5 mesiacov pred | |
jest.config.js | 5 mesiacov pred | |
manager.js | 5 mesiacov pred | |
package.json | 5 mesiacov pred | |
preview.js | 5 mesiacov pred |
Storybook addon for inspecting layouts and visualizing the box model.
Press the m key to enable the addon:
Hover over a DOM node
Storybook will display the dimensions of the selected element—margin, padding, border, width and height—in pixels.
This addon requires Storybook 6.3 or later. Measure is part of essentials and so is installed in all new Storybooks by default. If you need to add it to your Storybook, you can run:
npm i -D @storybook/addon-measure
Add "@storybook/addon-measure"
to the addons array in your .storybook/main.js
:
export default {
addons: ['@storybook/addon-measure'],
};