Unverified Commit 7d8146fe authored by Jimmy Jia's avatar Jimmy Jia Committed by GitHub
Browse files

Update BreadcrumbItem.js

parent e6382e17
......@@ -40,13 +40,13 @@ const defaultProps = {
};
const BreadcrumbItem = React.forwardRef(
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
(
{
bsPrefix,
active,
children,
className,
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
as: Component = 'li',
linkAs: LinkComponent = SafeAnchor,
...props
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment