mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Add displayName to ScrollbarComponent and ScrollbarCornerComponent
This commit is contained in:
@@ -4,6 +4,8 @@ React = require 'react-atom-fork'
|
||||
|
||||
module.exports =
|
||||
ScrollbarComponent = React.createClass
|
||||
displayName: 'ScrollbarComponent'
|
||||
|
||||
render: ->
|
||||
{orientation, className, scrollHeight, scrollWidth, visible} = @props
|
||||
{scrollableInOppositeDirection, horizontalScrollbarHeight, verticalScrollbarWidth} = @props
|
||||
|
||||
@@ -2,7 +2,9 @@ React = require 'react-atom-fork'
|
||||
{div} = require 'reactionary-atom-fork'
|
||||
|
||||
module.exports =
|
||||
ScrollbarComponent = React.createClass
|
||||
ScrollbarCornerComponent = React.createClass
|
||||
displayName: 'ScrollbarCornerComponent'
|
||||
|
||||
render: ->
|
||||
{visible, measuringScrollbars, width, height} = @props
|
||||
|
||||
|
||||
Reference in New Issue
Block a user