Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript doesn't recognize my custom spacing attribute. #2859

Open
1 task done
ayech0x2 opened this issue Dec 19, 2023 · 2 comments
Open
1 task done

Typescript doesn't recognize my custom spacing attribute. #2859

ayech0x2 opened this issue Dec 19, 2023 · 2 comments
Labels
bug a bug in one of the components wontfix

Comments

@ayech0x2
Copy link

Description

Typescript doesn't recognize my custom spacing attribute.

Related to

  • Typings

Code snippet

In the config file

Spacings.loadSpacings({
 customSpacing: 20,
});

In a stylesheet file

const styles = StyleSheet.create({
 container: {
  height: Spacings.customSpacing, // Property 'customSpacing' does not exist on type 'Spacings & { s1: number; s2:
 },
});

Environment

  • React Native version: 0.72.6
  • React Native UI Lib version: 7.12.2
  • Expo version: 49.0.21
@ayech0x2 ayech0x2 added the bug a bug in one of the components label Dec 19, 2023
@cameronmurphy
Copy link

+1

Copy link

stale bot commented Jan 31, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in one of the components wontfix
Projects
None yet
Development

No branches or pull requests

2 participants