Skip to content

Commit

Permalink
Add children prop
Browse files Browse the repository at this point in the history
- Fixes #21
  • Loading branch information
ntkme committed May 18, 2022
1 parent 5b0235b commit aae7f3d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import React from 'react'
import { GitHubButtonProps } from 'github-buttons'

export default class GitHubButton extends React.PureComponent<GitHubButtonProps> {}
interface ReactGitHubButtonProps extends GitHubButtonProps {
children?: React.ReactNode;
}

export default class GitHubButton extends React.PureComponent<ReactGitHubButtonProps> {}

0 comments on commit aae7f3d

Please sign in to comment.