0.0.5 • Published 1 year ago
@figmazing/resizable v0.0.5
@figmazing/resizable
install
yarn add @figmazing/resizable
usage
Both
ui
andmain
are required to use this package.
// ui
import { Resizable } from "@figmazing/resizable";
// create a resizable component
const App = () => {
return (
<Resizable
style={{
position: "fixed",
bottom: "2px",
right: "2px",
width: "16px",
height: "16px",
}}
/>
);
};
// main
import "@figmazing/resizable/main";
// If you want restore last size
import { restoreWindowSize } from "@figmazing/resizable/main";
function app() {
// restore last size
restoreWindowSize();
}
0.0.3
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.1
1 year ago
0.0.2
1 year ago
0.0.0-development.6
1 year ago
0.0.0-development.5
1 year ago
0.0.0-development.4
1 year ago
0.0.0-development.2
1 year ago
0.0.0-development.1
1 year ago
0.0.0-development.0
1 year ago