carbon-design-system / carbon-addons-iot-react

A collection of React components shared between IBM Maximo Asset Monitor (Watson IoT), IBM Maximo Visual Inspection, and Graphite products.
https://carbon-design-system.github.io/carbon-addons-iot-react/
Apache License 2.0
96 stars 78 forks source link

feat: expose emptyStateIcon props to display more icon while table is empty #3844

Closed anishkumar-bhut closed 9 months ago

anishkumar-bhut commented 9 months ago

GRAPHITE-72230 Summary Previously there is no provision to change no record icon while table is empty but in EmptyTable component has many option for icon and Table component not expose that props to use so make it available to change EmptyTable icon change as below options.

Icon Options : 'error', 'error404', 'empty', 'not-authorized', 'no-result', 'success'

Thread https://ibm-watson-iot.slack.com/archives/CNFER73HV/p1705651599568479

Acceptance Test (how to verify the PR)

Things to look for during review

netlify[bot] commented 9 months ago

Deploy Preview for carbon-addons-iot-react ready!

Name Link
Latest commit 65c281bf18943e8598888cc9b0a05877b172d22f
Latest deploy log https://app.netlify.com/sites/carbon-addons-iot-react/deploys/65d70ca32eddf40008385e7e
Deploy Preview https://deploy-preview-3844--carbon-addons-iot-react.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.