Skip to content

Instantly share code, notes, and snippets.

@dfee

dfee/block7.ts Secret

Created January 23, 2019 21:46
Show Gist options
  • Save dfee/1bd442addca808246a2eafc8ed5e6e08 to your computer and use it in GitHub Desktop.
Save dfee/1bd442addca808246a2eafc8ed5e6e08 to your computer and use it in GitHub Desktop.
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