-
-
Save dfee/1bd442addca808246a2eafc8ed5e6e08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import classNames from "classnames"; | |
import React from "react"; | |
import { forwardRefAs, Generic } from "../../base"; | |
import { HelpersProps } from "../../base/helpers"; | |
export type FooterProps = HelpersProps; | |
export const Footer = forwardRefAs<FooterProps>( | |
({ className, ...rest }, ref) => ( | |
<Generic className={classNames("footer", className)} ref={ref} {...rest} /> | |
), | |
{ as: "div" }, | |
); | |
Footer.displayName = "Footer"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment