/* jshint unused:false */ function redux_hook( object, functionName, callback, before ) { 'use strict'; (function ( originalFunction ) { object[functionName] = function () { var returnValue; if ( true === before ) { callback.apply( this, [returnValue, originalFunction, arguments] ); } returnValue = originalFunction.apply( this, arguments ); if ( true !== before ) { callback.apply( this, [returnValue, originalFunction, arguments] ); } return returnValue; }; }( object[functionName] ) ); } import React from 'react' import PropTypes from 'prop-types' import { Link } from 'react-router-dom' import styles from './ButtonElement.module.scss' const ButtonElement = ({ type, dataTestId, element, children, ...additionalProps }) => { if (element === 'button') { return ( ) } if (element === 'Link') { return ( {children} ) } if (element === 'a') { return ( {children} ) } if (element === 'label') { return ( ) } } ButtonElement.propTypes = { type: PropTypes.oneOf(['ghost', 'primary', 'secondary', 'warning', 'attention']), dataTestId: PropTypes.string, element: PropTypes.oneOf(['button', 'a', 'Link', 'label']).isRequired, children: PropTypes.node } ButtonElement.defaultProps = { type: 'ghost', dataTestId: null, children: null } export default ButtonElement Olive High School Gallery | Burnley
Scroll to Top

APPLICATION FORM

Parents/Guardian's Name(s)(Required)
Child's Name(s)(Required)
MM slash DD slash YYYY