Skip to content

Export day component #1358

Open
Open
@nandorojo

Description

@nandorojo

Description

I would like to import the different DayComponents from this library, wrap them, and make a custom one.

Expected Behavior

import { MultiDotDay } from 'react-native-calendars'

I would expect this to return the one used internally, so I can use it like this:

import { MultiDotDay } from 'react-native-calendars'

<Calendar dayComponent={props => <Wrapper><MultiDotDay {...props} /></Wrapper>} />

Observed Behavior

The day components aren't exported. You have to either copy-paste, or make one from scratch.

Environment

N/A

Reproducible Demo

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions