mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
12 lines
313 B
CoffeeScript
12 lines
313 B
CoffeeScript
React = require 'react'
|
|
{div} = require 'reactionary'
|
|
|
|
module.exports =
|
|
SelectionComponent = React.createClass
|
|
displayName: 'SelectionComponent'
|
|
|
|
render: ->
|
|
div className: 'selection',
|
|
for regionRect, i in @props.selection.getRegionRects()
|
|
div className: 'region', key: i, style: regionRect
|