Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Commit

Permalink
fix: remove unused type from back button props
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Oct 8, 2019
1 parent 6127f6a commit 04d8e29
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/views/Header/HeaderBackButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ import defaultBackImage from '../assets/back-icon.png';
import BackButtonWeb from './BackButtonWeb';
import { HeaderBackButtonProps } from '../../types';

type Props = Omit<HeaderBackButtonProps, 'layoutPreset' | 'scene'>;

type State = {
initialTextWidth?: number;
};

class HeaderBackButton extends React.PureComponent<
HeaderBackButtonProps,
State
> {
class HeaderBackButton extends React.PureComponent<Props, State> {
static defaultProps = {
pressColorAndroid: 'rgba(0, 0, 0, .32)',
tintColor: Platform.select({
Expand Down

0 comments on commit 04d8e29

Please sign in to comment.