pnp / pnp/sp-dev-fx-controls-react

Accordion Control Error: The icon "cheverondown" was used but not registered.

Open
#1,629 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted type:bug
Dominant language
TypeScript
Stars
433
Forks
418
Avg merge
5d 6m
Merged PRs (30d)
19

Description

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your
needs please complete the below template to ensure we have the details to help. Thanks!

Please check out the documentation to see if your question is already addressed there. This will help us ensure our documentation is up to date.

Category

[ ] Enhancement

[X ] Bug

[ ] Question

Version

Please specify what version of the library you are using: [ 3.15.0 ]

Expected / Desired Behavior / Question

The default icons for expanding and collapsing should be chevrons.

Observed Behavior

Error occurs in the debug console: The icon "cheverondown" was used but not registered.

Steps to Reproduce

I have added the following statement to my component:
import { Accordion } from "@pnp/spfx-controls-react/lib/Accordion";

and included this in the render():
<Accordion title="Shipment" className={"itemCell"} defaultCollapsed={false}>

Hello World


Submission Guidelines

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the Accordion import from @pnp/spfx-controls-react/lib/Accordion and reproduce the issue with the provided render example. Inspect how the default expand and collapse icons are referenced or registered. Done means the Accordion renders with chevron icons without the debug-console registration error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.