[x] I've searched open issues to make sure I'm not opening a duplicate issue
[x] I have read through the docs before asking a question
[x] I am using the latest version of nuka-carousel
Describe Your Environment
What version of nuka-carousel are you using? 5.5.1
What version of React are you using? 18.2.0 with typescript
What browser are you using? Chrome
Describe the Problem
getControlsContainerStyles prop does not exist on type intrinsic values in my react app.
I'm trying to access the styles of the controls containers so i can reposition them on my page but the function in the docs does not appear to by accessible.
Expected behavior:
Access to the containers css attributes should be editable as per the documentation.
`<Carousel
getControlsContainerStyles={(key) => {
switch (key) {
case 'TopLeft':
return {
backgroundColor: "red",
};
default:
// will apply all other keys
return {
backgroundColor: "blue",
};
}
}} />
{/ Carousel Content /}
`
Actual behavior
Additional Information
To reproduce try to use the getControlsContainerStyles prop.
Bugs and Questions
Prerequisites
Describe Your Environment
Describe the Problem
getControlsContainerStyles prop does not exist on type intrinsic values in my react app.
I'm trying to access the styles of the controls containers so i can reposition them on my page but the function in the docs does not appear to by accessible.
Expected behavior:
Access to the containers css attributes should be editable as per the documentation. `<Carousel getControlsContainerStyles={(key) => { switch (key) { case 'TopLeft': return { backgroundColor: "red", }; default: // will apply all other keys return { backgroundColor: "blue", }; } }} />
Actual behavior
Additional Information
To reproduce try to use the getControlsContainerStyles prop.