{/* <div className="filterable all react type property">
<divclassName="filterable all react type property">
<Collapsible title="Argument of type X is not assignable to parameter of type Y.">
<Collapsibletitle="Argument of type X is not assignable to parameter of type Y.">
<h6>Example</h6>
<h6>Example</h6>
<h6>Solutions</h6>
<h6>Solutions</h6>
</Collapsible>
</Collapsible>
</div>
</div>
<divclassName="filterable all react type">
<divclassName="filterable all react type">
...
@@ -189,10 +190,38 @@ function Troubleshooting(){
...
@@ -189,10 +190,38 @@ function Troubleshooting(){
<h6>Solutions</h6>
<h6>Solutions</h6>
</Collapsible>
</Collapsible>
</div>
</div>
<divclassName="filterable all css">
<Collapsibletitle="I added css styles but they do not show">
<h6>Example</h6>
<p>The color is not showing on hover.</p>
<Code>.nav-link:hover {
color: var(--darkpurple);
background-color: var(--yellow) !important;
border-radius: 3px;
}</Code>
<h6>Solution</h6>
<p>Styles not showing is often a case of a different style overriding your style. Some styles are pre defined by bootstrap or other packages you may use. </p>
<p> If an external package is overriding your style, you need to add the <b>!important</b> tag to your style. </p>
<p> If one of your own styles is overriding the new style, you can change your old style or define a new, more specific style case. E.g. by using a more specific css path. But you may still need to add the <b>!important</b> tag. </p>
<Code> .nav-link:hover {
color: var(--darkpurple) <b>!important</b>;
background-color: var(--yellow) !important;
border-radius: 3px;
}
</Code>
</Collapsible>
</div>
<divclassName="filterable all react type property">
<divclassName="filterable all react type property">
<Collapsibletitle="Property x is missing in type y but required in type z.">
<Collapsibletitle="Property x is missing in type y but required in type z.">
<h6>Example</h6>
<h6>Example</h6>
<pclassName="problem-error"> Argument of type '{ [x: string]: any; }' is not assignable to parameter of type '{ classNames: string[]; }'.
Property 'classNames' is missing in type '{ [x: string]: any; }' but required in type '{ classNames: string[]; }'.</p>