Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"extends": "@significa/significa",
"env": {
"browser": true,
"node": true,
"es6": true
}
}
"extends": "@significa/eslint-config"
}
1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require("@significa/prettier-config");
2 changes: 0 additions & 2 deletions .storybook/addons.js

This file was deleted.

8 changes: 0 additions & 8 deletions .storybook/config.js

This file was deleted.

15 changes: 15 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
stories: ['../stories/**/*.stories.tsx'],
addons: ['@storybook/addon-actions', '@storybook/addon-links'],
webpackFinal: async config => {
config.module.rules.push({
test: /\.(ts|tsx)$/,
loader: require.resolve('babel-loader'),
options: {
presets: [['react-app', { flow: false, typescript: true }]],
},
});
config.resolve.extensions.push('.ts', '.tsx');
return config;
},
};
17 changes: 0 additions & 17 deletions .storybook/webpack.config.js

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const List = () => (

### Methods

**resize**
**reposition**
Recalculate all spaces available and snuggle each element z its space, it is helpful for lazing loading, resize listeners, and loading images.

Example:
Expand All @@ -58,7 +58,7 @@ const Component = () => {

const onLoad = () => {
if (snuggleRef.current) {
snuggleRef.current.resize()
snuggleRef.current.settle()
}
}

Expand Down
Loading