Skip to content

Commit

Permalink
add typings for GithubCorner component
Browse files Browse the repository at this point in the history
I use this in a TypeScript project of mine and needed to create typings for it. In order to make it easier for other to use this component I added them here.
  • Loading branch information
panmona committed Apr 13, 2018
1 parent bf630cf commit 15b7162
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/lib/GithubCorner.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import * as React from 'react';

interface GithubCornerProps {
href?: string;
size?: number | string;
direction?: string;
octoColor?: string;
bannerColor?: string;
ariaLabel?: string;
className?: string;
svgStyle?: CSSProperties;
}

export default class GithubCorner extends React.Component<GithubCornerProps, any> {
}

0 comments on commit 15b7162

Please sign in to comment.