ConsenSysMesh / rimble-ui

React components that implement Rimble's Design System.
https://rimble.consensys.design/
MIT License
462 stars 67 forks source link

Refactored PublicAddress into EthAddress component #358

Closed MikeLockz closed 4 years ago

MikeLockz commented 4 years ago

Eliminated similar component PublicAddress into EthAddress. Added new modal for QR and copy functions to EthAddress.ReadOnly sub-component. Added prop buttonText to change button icons to text. Added prop truncate to base EthAddress component.

netlify[bot] commented 4 years ago

Deploy preview for rimble-ui-storybook ready!

Built with commit 0bda5a52872c6394e906e94dbfd637fb9bbbd157

https://deploy-preview-358--rimble-ui-storybook.netlify.com

MikeLockz commented 4 years ago

Fixes #306 and #307.

MikeLockz commented 4 years ago

@gesquinca - I'm seeing 3 different components from our allComponenteMetadata graphql output: TextOnlyAddress, Clipboard, AddressQrModal, ReadOnlyInput

We'll need to add both TextOnlyAddress ReadOnlyInput to the docs so we are displaying all possible props. Do we want to rename these now to make them more standardized? (EthAddress, EthAddressReadOnly)