Skip to content

Unable to import default presets #70

@boyestrous

Description

@boyestrous

My apologies if I'm overlooking something simple here, but I cannot import the values for the Presets.

import { Presets } from 'react-native-gl-image-filters';

When I try to use these values, it tells me that Presets is a type interface, which doesn't seem right to me. I was expecting to be able to use the presets like in the Readme (below)

<ImageFilters {...**Presets.StinsonPreset**}> {{ uri: 'https://i.imgur.com/5EOyTDQ.jpg' }} </ImageFilters>

I'm relatively new to React Native, so please let me know if I'm doing this wrong.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions