0.0.14 • Published 4 years ago
resource_interface v0.0.14
Resource Interface
This is a structure that could help us organize resources in TypeScript.
Community
None
Installation
The easiest way to install resource_interface is from npm
:
npm install resource_interface
Contributers
When new resources(icon/image) available, A contributer will add them to module and publish to npm with new release version
Interface/How it work
Here we go, import IDAsset from resource_interface module:
import {IDAsset} from 'resource_interface/Natrium/IDAsset'
Runing on the way with codes like bellow:
<SafeAreaView>
{IDAsset.common.icons.armoImage({width: 100, height: 100})}
</SafeAreaView>
That's all :)) Duc Nguyen
#Happy with your codes