Skip to content

Commit

Permalink
chore: update libs & demo
Browse files Browse the repository at this point in the history
  • Loading branch information
leonwgc committed Apr 19, 2024
1 parent 520fb55 commit 094152f
Show file tree
Hide file tree
Showing 12 changed files with 278 additions and 226 deletions.
3 changes: 2 additions & 1 deletion demo/App1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const placements = [
];

export default function App() {
const [visible, setVisible] = useState(false);
const [visible, setVisible] = useState(true);

const ref = useRef(0);
const elRef = useRef();
Expand Down Expand Up @@ -109,6 +109,7 @@ export default function App() {
<AutoCenter style={{ marginTop: 100 }}>
<img src={pkq} ref={elRef} onClick={handlePkg} style={{ cursor: 'pointer' }} />
</AutoCenter>
<div style={{ height: '100vh' }}></div>
</DemoBlock>
</PageWrap>
);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit 094152f

Please sign in to comment.