UNPKG

@age/quantum

Version:
19 lines (15 loc) 399 B
import React from 'react'; export type NonEmptyArray<T> = [T, ...T[]]; export interface SocialsProps { size?: string; theme?: { spacing?: object; }; items: NonEmptyArray<{ name?: 'facebook' | 'twitter' | 'youtube'; url?: string; title?: string; }>; withBox?: boolean; } export default class Socials extends React.Component<SocialsProps> {}