Web.Components: Link: added className prop

This commit is contained in:
Daniil Senkiv 2019-10-28 17:14:58 +03:00
parent 6bf888567a
commit 083f49cceb

View File

@ -89,7 +89,8 @@ Link.propTypes = {
target: PropTypes.oneOf(["_blank", "_self", "_parent", "_top"]),
title: PropTypes.string,
type: PropTypes.oneOf(["action", "page"]),
children: PropTypes.string
children: PropTypes.string,
className: PropTypes.string
};
Link.defaultProps = {
@ -103,6 +104,7 @@ Link.defaultProps = {
rel: "noopener noreferrer",
tabIndex: -1,
type: "page",
className: "",
};
export default Link;