Add displayName to ScrollbarComponent and ScrollbarCornerComponent

This commit is contained in:
Nathan Sobo
2014-05-22 15:59:44 -06:00
parent 6d89c893b7
commit e754689014
2 changed files with 5 additions and 1 deletions

View File

@@ -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

View File

@@ -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