npm install the library, for me it produced on 7.1.1
Import Drawer or Text component either as named import or as a package import
Write the component as JSX
Types are missing,
Expected behavior
Should have full type safety and autocomplete like the rest of the components
Actual behavior
Missing types
More Info
Version 7.1.1
Reproduced on different workspaced.
Code snippet
import React from "react";
import { Drawer, Avatar, Text } from "react-native-ui-lib";
const App = () => {
return (
<Drawer iCanPutAnythingHere="foo">
<Text andHereAlso="bar"> Missing Type safety!</Text>
{/* Type safety! */}
<Avatar size={1} butNotHere="!"/>
</Drawer>
);
};
export default App;
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.
Description
Missing types for
Drawer
andText
components.Related to
Steps to reproduce
npm install
the library, for me it produced on 7.1.1 ImportDrawer
orText
component either as named import or as a package import Write the component as JSX Types are missing,Expected behavior
Should have full type safety and autocomplete like the rest of the components
Actual behavior
Missing types
More Info
Version 7.1.1 Reproduced on different workspaced.
Code snippet
Screenshots/Video
Environment
Affected platforms