superdesk/superdesk-client-core

View on GitHub
scripts/core/ui/components/MoreActionsButton.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import * as React from 'react';

interface IProps {
    'aria-label': string;
    ref?(event): void;
    onClick(event: React.MouseEvent): void;
}

export class MoreActionsButton extends React.PureComponent<IProps> {
    render() {
        return (
            <button
                className="sd-navbtn"
                aria-label={this.props['aria-label']}
                ref={this.props.ref}
                onClick={this.props.onClick}
            >
                <i className="icon-dots-vertical" />
            </button>
        );
    }
}