Giter VIP home page Giter VIP logo

Comments (5)

romanown avatar romanown commented on May 21, 2024

and if prefixCls='mydrawer' is .drawer-open .drawer-handle not working. it is not changing to .mydrawer-open .mydrawer-handle when drawer is opened.

from drawer.

romanown avatar romanown commented on May 21, 2024

I did find how to change the code of the component to parameter prefixCls effect on the "Burger". I took as a basis the default code of this element and added prefixCls. Maybe I did it wrong so the code doesn't show up to not distort your thoughts.

from drawer.

romanown avatar romanown commented on May 21, 2024

But if you do not have time and desire to do this here is the code to control and add to the component.
var _props3 = _this3.props, className = _props3.className, prefixCls = _props3.prefixCls, style = _props3.style, placement = _props3.placement, children = _props3.children,
the beginning of change
handler = React.createElement( 'div', { className: prefixCls + '-handle' }, React.createElement('i', { className: prefixCls + '-handle-icon' }) ),
the ending of change
showMask = _props3.showMask, maskStyle = _props3.maskStyle;

from drawer.

jljsj33 avatar jljsj33 commented on May 21, 2024

#37

from drawer.

romanown avatar romanown commented on May 21, 2024

But the issue 37 describes another problem. 37 issue describes is no action and this does not change the appearance of the item

from drawer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.