@trussworks/react-uswds
Version:
React USWDS 3 component library
10 lines (9 loc) • 455 B
TypeScript
import { default as React, JSX } from 'react';
export type SocialLinksProps = {
links: React.ReactNode[];
} & JSX.IntrinsicElements['div'];
export type SocialLinkProps = {
name: 'Facebook' | 'Twitter' | 'YouTube' | 'Instagram' | 'RSS';
} & JSX.IntrinsicElements['a'];
export declare const SocialLinks: ({ className, links, }: SocialLinksProps) => JSX.Element;
export declare const SocialLink: ({ name, ...props }: SocialLinkProps) => JSX.Element;