Cleaned up Element Scroll Fader a touch, this function can do a lot better though..

This commit is contained in:
2018-10-24 17:30:51 +11:00
parent f1b10e223e
commit b9b69ef222
4 changed files with 16 additions and 18 deletions

View File

@@ -23,6 +23,8 @@
import React from 'react';
import Styles from './Background.scss';
export default function(props) {
let style = props.style || "test";
let styleClassPrefix = "o-background--style-"+style;