Add todo to remove layers redundancy

This commit is contained in:
lukasmartinelli 2016-09-19 21:41:24 +02:00
parent 57c409af07
commit 4f73ab5b6a
4 changed files with 4 additions and 0 deletions

View file

@ -4,6 +4,7 @@ import Input from 'rebass/dist/Input'
import { PropertyGroup } from '../fields/spec'
import PureRenderMixin from 'react-addons-pure-render-mixin';
//TODO: All layers contain a lot of redundancy
export default class BackgroundLayer extends React.Component {
static propTypes = {
layer: React.PropTypes.instanceOf(Immutable.Map).isRequired,

View file

@ -4,6 +4,7 @@ import { Checkbox, Input } from 'rebass'
import { PropertyGroup } from '../fields/spec'
import PureRenderMixin from 'react-addons-pure-render-mixin';
//TODO: All layers contain a lot of redundancy
export default class FillLayer extends React.Component {
static propTypes = {
layer: React.PropTypes.instanceOf(Immutable.Map).isRequired,

View file

@ -3,6 +3,7 @@ import Immutable from 'immutable'
import { PropertyGroup } from '../fields/spec'
import PureRenderMixin from 'react-addons-pure-render-mixin';
//TODO: All layers contain a lot of redundancy
export default class LineLayer extends React.Component {
static propTypes = {
layer: React.PropTypes.instanceOf(Immutable.Map).isRequired,

View file

@ -3,6 +3,7 @@ import Immutable from 'immutable'
import PureRenderMixin from 'react-addons-pure-render-mixin';
import { PropertyGroup } from '../fields/spec'
//TODO: All layers contain a lot of redundancy
export default class SymbolLayer extends React.Component {
static propTypes = {
layer: React.PropTypes.instanceOf(Immutable.Map).isRequired,