import React from 'react' ; import * as Styled from './WaveDivider.styles' ; export interface Props { waveImg : string ; dividerHeight : string ; margin ? : string ; } function param { string } waveImg param { string } dividerHeight param { string } margin returns { JSX . Element } const WaveDivider = ( { waveImg , dividerHeight , margin , } ) : JSX . Element => { return ( < Styled . Container > < Styled . Wave waveImg = { waveImg } dividerHeight = { dividerHeight } margin = { margin } / > < /Styled.Container>); } ; export default WaveDivider ;