diff --git a/src/bootstrap/DownloadButton.js b/src/bootstrap/DownloadButton.js
index 8b3d043..13d1de1 100644
--- a/src/bootstrap/DownloadButton.js
+++ b/src/bootstrap/DownloadButton.js
@@ -10,12 +10,25 @@ import PropTypes from "prop-types";
DownloadButton.propTypes = {
href: PropTypes.string.isRequired,
+ className: PropTypes.string,
children: PropTypes.oneOfType([
PropTypes.arrayOf(PropTypes.node),
PropTypes.node,
]),
};
-export function DownloadButton({ href, children }) {
- return {children};
+DownloadButton.defaultProps = {
+ className: "btn-primary",
+};
+
+export function DownloadButton({ href, className, children }) {
+ return (
+
+ {children}
+
+ );
}