Skip to content

Commit

Permalink
feat: test
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyair committed May 29, 2024
1 parent e6ae61c commit 36582af
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions docs/examples/drawerRender.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import React, { useState } from 'react';
import Drawer from 'rc-drawer';
import motionProps from './motion';

const Demo = () => {
const [open, setOpen] = useState(false);
Expand All @@ -16,13 +14,6 @@ const Demo = () => {
<Drawer
open={open}
onClose={onTouchEnd}
afterOpenChange={(c: boolean) => {
console.log('transitionEnd: ', c);
}}
placement="right"
// width={400}
width="60%"
// Motion
drawerRender={dom => (
<div id="test" style={{ height: '100%' }}>
{dom}
Expand Down

0 comments on commit 36582af

Please sign in to comment.