From 372a0c2c14e57e0880ce8208454fd0bab453c073 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Tue, 4 Dec 2018 11:52:35 +0100 Subject: [PATCH] =?UTF-8?q?:art:=20ajoute=20une=20animation=20sur=20les=20?= =?UTF-8?q?pages=20r=C3=A8gles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/rule/Rule.js | 135 ++++++++++++++++---------------- source/règles/base.yaml | 4 +- source/règles/externalized.yaml | 8 +- 3 files changed, 75 insertions(+), 72 deletions(-) diff --git a/source/components/rule/Rule.js b/source/components/rule/Rule.js index 85f9b0542..0f1b15c61 100644 --- a/source/components/rule/Rule.js +++ b/source/components/rule/Rule.js @@ -22,6 +22,7 @@ import { noUserInputSelector, ruleAnalysisSelector } from 'Selectors/analyseSelectors' +import Animate from 'Ui/animate' import { AttachDictionary } from '../AttachDictionary' import Algorithm from './Algorithm' import Examples from './Examples' @@ -73,73 +74,75 @@ export default compose( ) : (
- - {title} - - - - - {this.renderToggleSourceButton()} -
- {displayedRule.nodeValue ? ( -
-