1.0.6 • Published 1 year ago

@types/react-native-highlight-words v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Installation

npm install --save @types/react-native-highlight-words

Summary

This package contains type definitions for react-native-highlight-words (https://github.com/clauderic/react-native-highlight-words).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-highlight-words.

index.d.ts

// Type definitions for react-native-highlight-words 1.0
// Project: https://github.com/clauderic/react-native-highlight-words
// Definitions by: Ivan Stelmakh <https://github.com/stelmakhivan>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import * as React from 'react';
import { TextProps } from 'react-native';

export interface HighlighterProps extends TextProps {
    autoEscape?: boolean | undefined;
    highlightStyle?: TextProps['style'] | undefined;
    sanitize?: ((text: string) => string) | undefined;
    searchWords: string[];
    style?: TextProps['style'] | undefined;
    textToHighlight: string;
}

export default class Highlighter extends React.Component<HighlighterProps> {}

Additional Details

Credits

These definitions were written by Ivan Stelmakh.

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago