All files index.js

88.89% Statements 8/9
100% Branches 0/0
50% Functions 1/2
88.89% Lines 8/9
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34        1x   1x 1x 1x 1x       1x             1x 1x                        
/**
 * The exports for the library
 */
 
import React from 'react';
 
import scroller from './scroller';
import anchor from './anchor';
import AnchorElement from './anchor-element';
import ScrollPanel from './scroll-panel';
 
 
function Button(props) {
    return <button {...props} />;
}
 
function Link(props) {
    return <a {...props} />;
}
 
export const AnchorButton = anchor(Button);
export const AnchorLink = anchor(Link);
export { default as AnchorElement } from './anchor-element';
export { default as ScrollPanel } from './scroll-panel';
 
export default {
    scroller,
    anchor,
    AnchorButton,
    AnchorLink,
    AnchorElement,
    ScrollPanel
};