Based on user condition fadeOut (bool) will happen.
Following properties can be passed to BacktoTop component from the parent component
text( A string which will be beside icon, by default it is "Back to top" )
align( left / right - defines the position of back to top for left or right alinged )
icon( a custom class can be provided for adding an icon thru this prop )
fadeOut( true / false - it decides when the component should fadeout or fadein depending on boolean value )
position ( fixed / static / relative / absolute - depends on the user where they want to place the component )
fleft - ( left offset of the component if position is fixed )
fright- ( right offset of the component if position is fixed )
fbottom- ( bottom offset of the component if position is fixed )
Added backToTop component
Based on user condition fadeOut (bool) will happen.
Following properties can be passed to BacktoTop component from the parent component
text( A string which will be beside icon, by default it is "Back to top" ) align( left / right - defines the position of back to top for left or right alinged ) icon( a custom class can be provided for adding an icon thru this prop ) fadeOut( true / false - it decides when the component should fadeout or fadein depending on boolean value ) position ( fixed / static / relative / absolute - depends on the user where they want to place the component ) fleft - ( left offset of the component if position is fixed ) fright- ( right offset of the component if position is fixed ) fbottom- ( bottom offset of the component if position is fixed )