3.1.0 • Published 5 years ago

react-native-press-me-button v3.1.0

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
5 years ago

Press Me!

A button you can't help but press. This is a pure JavaScript component.

react-native-press-me-button demo react-native-press-me-button demo

Usage

Install with yarn add react-native-press-me-button

import PressMeButton from 'react-native-press-me-button'

<PressMeButton
  height={50}
  width={240}
  title="Press me!"
  titleStyle={{
    color: 'white',
    fontSize: 18,
    fontWeight: 'bold',
  }}
  // This is the background color behind the button. Make sure to set this prop!
  backgroundColor="#F0F0F0"
  onPress={() => console.log('Pressed!')}
  buttonColor="blue"
  edgeHeight={10}
  cornerRadius={5}
  shadowStyle={{
    shadowColor: '#0000AA',
    shadowOffset: { width: 0, height: 3 },
    shadowOpacity: 0.8,
    shadowRadius: 6,
    elevation: 10,
  }}
/>

License

Copyright 2017 Jan Soendermann

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
3.1.0

5 years ago

3.0.0

7 years ago

2.7.0

8 years ago

2.6.0

8 years ago

2.5.1

8 years ago

2.5.0

8 years ago

2.4.0

8 years ago

2.3.0

8 years ago

2.2.0

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago