Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Arrow Icon in PullDownContent and ReleaseContent #13

Open
yoshimoto8 opened this issue May 13, 2019 · 1 comment
Open

Remove Arrow Icon in PullDownContent and ReleaseContent #13

yoshimoto8 opened this issue May 13, 2019 · 1 comment

Comments

@yoshimoto8
Copy link

yoshimoto8 commented May 13, 2019

Hi, I want to remove arrow icon in PullDownContent and ReleaseContent component. Can I create PR?

I think maybe the correction will be like this

interface PullDownContentProps {
  height?: string
  background?: any
  label?: string
  disabled?: boolean
}

export const ReleaseContent: React.SFC<ReleaseContentProps> = ({
  height = '200px',
  background = 'none',
  label = 'Release to refresh'
  disabled = false
}) => (
  <div id="container">
    {disabled ? null : <div id="arrow"/>}
    <span>{label}</span>
  </div>
)
@echoulen
Copy link
Owner

looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants