Skip to content

Remove Arrow Icon in PullDownContent and ReleaseContent #13

Description

@yoshimoto8

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>
)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions