Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
anchor-ui
Advanced tools
UI kit for chat engines with React
Install from npm
<Avatar />
used for rendering a user's profile image.
Props:
Name | Type | Required | Default | Description |
---|---|---|---|---|
image | String | Yes | Path to user's profile image | |
style | Object | Override the styles of the root element |
<Badge />
used for notification counter.
Props:
Name | Type | Required | Default | Description |
---|---|---|---|---|
content | String, Number, Node | Yes | Content to be rendered | |
style | Object | Override the styles of the root element |
<Button />
Props:
Name | Type | Required | Default | Description |
---|---|---|---|---|
children | Element | Yes | Button content | |
style | Object | Override the styles of the root element |
<ChannelHeader />
a channel's header containing the channel name
Props:
Name | Type | Required | Default | Description |
---|---|---|---|---|
name | String | Yes | Button content | |
style | Object | Override the styles of the root element | ||
headerTextStyle | Object | Override the styles of the text element |
<List />
Props:
Name | Type | Required | Default | Description |
---|---|---|---|---|
children | Node | Yes | List content | |
style | Object | Override the styles of the root element |
<ListItem />
Props:
Name | Type | Required | Default | Description |
---|---|---|---|---|
primaryText | String | Yes | The list item's primary text | |
secondaryText | String | Yes | The list item's secondary text | |
active | Boolean | Add active styles to ListItem | ||
onClick | Function | Yes | Click function for the root element | |
style | Object | Override the styles of the root element | ||
primaryTextStyle | Object | Override the styles of the primaryText element | ||
secondaryTextStyle | Object | Override the styles of the secondaryText element |
<Message />
Props:
Name | Type | Required | Default | Description |
---|---|---|---|---|
message | Object | Yes | Mesage object containing: body, createdAt, username | |
message.body | String | Yes | The message's body text | |
message.createdAt | String, Date | Yes | Time when the message was created | |
message.username | String | Yes | The sender's username | |
timeFormat | String | 'HH:mm' | The format in which to display message.createdAt | |
avatar | String | Path to the user's profile image, will render if supplied | ||
myMessage | Boolean | false | Flag used to change message styles, set to true if the message belongs to the current user | |
style | Object | Override the styles of the root element | ||
messageBodyStyle | Object | Override the styles of the body element | ||
messageHeaderStyle | Object | Override the styles of the header element | ||
messageTimeStyle | Object | Override the styles of the time element |
<MessageInput />
text input for message
Props:
Name | Type | Required | Default | Description |
---|---|---|---|---|
value | String | Yes | The list items primary text | |
placeholder | String | Yes | The list items primary text | |
onChange | Function | Yes | Change the input's value | |
sendMessage | Function | Yes | Send a message | |
style | Object | Override the styles of the root element | ||
inputStyle | Object | Override the styles of the input element |
<ProfileCard />
used for rendering a user's profile details.
Props:
Name | Type | Required | Default | Description |
---|---|---|---|---|
username | String | Yes | The user's username | |
avatar | String | Yes | Path to the user's profile image, will render if supplied | |
style | Object | Override the styles of the root element |
Install node_modules
used in ./src
:
$ npm i
Compile ./src
with Babel:
$ npm run compile
Install node_modules
used in ./examples
:
$ cd examples && npm i
To watch for changes in ./src
run:
$ npm run watch
Babel will compile ./src
on changes.
To start the webpack server run:
$ cd examples && npm run start
Webpack wil compile on changes in ./examples/src
.
This project is licensed under the terms of the MIT license.
v1.1.3 (2017-01-10)
Implemented enhancements:
Closed issues:
Merged pull requests:
FAQs
React Component UI Kit
The npm package anchor-ui receives a total of 22 weekly downloads. As such, anchor-ui popularity was classified as not popular.
We found that anchor-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.