diff --git a/src/components/development/development.jsx b/src/components/development/development.jsx index 5e80c94..c8be32c 100644 --- a/src/components/development/development.jsx +++ b/src/components/development/development.jsx @@ -101,7 +101,4 @@ Development.propTypes = { Development.defaultProps = { type: 'number', - positiveColor: 'inherit', - neutralColor: 'inherit', - negativeColor: 'inherit', }; diff --git a/src/components/development/development.md b/src/components/development/development.md index 66b2d1d..839e30e 100644 --- a/src/components/development/development.md +++ b/src/components/development/development.md @@ -80,3 +80,32 @@ Override colors examples: + + +Override colors with classes examples: + +
+ + + + + + + + + + +
diff --git a/test/components/development.test.js b/test/components/development.test.js index aa83cd7..5acfbb7 100644 --- a/test/components/development.test.js +++ b/test/components/development.test.js @@ -106,10 +106,10 @@ describe('', () => { }); describe('Custom colors', () => { - it('should default to color: "inherit"', () => { + it('should default to undefined', () => { const component = shallow(); const { color } = component.find(Number).prop('style'); - expect(color).to.equal('inherit'); + expect(color).to.equal(undefined); }); it('should be possible to override positive color', () => {