mirror of
https://github.com/maputnik/editor.git
synced 2025-12-06 06:10:00 +00:00
Add todo to remove layers redundancy
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user