4 questions
0
votes
2
answers
320
views
How to conditionally render stroke color in React with Fluent UI and react-hooks?
Here props.data!.lineChartData![0].color! can be optional, so what to modify in code such that if it is defined then it should render stroke color from props.data!.lineChartData![0].color! else from ...
1
vote
1
answer
1k
views
Griffel - CSS in JS - Cannot overwrite child class rule on parent element hover
I'm using Griffel https://griffel.js.org/ for the first time and I am struggling to achieve this simple thing. By default this button is hidden and when the user hover's over the parent I want to ...
0
votes
1
answer
2k
views
fluent ui styling, border is not defined
i am using fluent ui which uses Griffel for styling. When i try to provide border: "none" it's throwing error that string not assignable to undefined
import {makeStyles} from "@fluentui/...
2
votes
1
answer
2k
views
Nested components & styles in fluent ui v9 / Griffel
I have a style for a standard list
export const useOverrides = makeStyles({
list: {
...shorthands.padding("2px", "4px", "8px", "30px"),
},
I ...