File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
demo/app/(mdx)/quick-start Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ import { ModalStackContainer } from "rc-modal-sheet/m"
4646const App = () => <ModalStackContainer >{ children } </ModalStackContainer >
4747```
4848
49- ### Using with TailwindCSS
49+ ### Using with TailwindCSS V3
5050
5151If your project uses TailwindCSS, add the following configuration in ` tailwind.config.js ` :
5252
@@ -62,6 +62,16 @@ module.exports = {
6262}
6363```
6464
65+ ### Using with TailwindCSS V4
66+
67+ If your project uses TailwindCSS, add the following configuration in ` tailwind.config.js ` :
68+
69+ ``` css
70+ /* * style.css */
71+
72+ @source './node_modules/rc-modal-sheet/**/*.js'; /* The path of rc-modal lib location */
73+ ```
74+
6575### Using in Non-TailwindCSS Projects
6676
6777If your project does not use TailwindCSS, you need to manually import the component's style file:
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export const Divider: FC<
1010 return (
1111 < hr
1212 className = { clsxm (
13- 'my-4 h-[0.5px] border-0 bg-black !bg- opacity-30 dark:bg-white' ,
13+ 'my-4 h-[0.5px] border-0 bg-black opacity-30 dark:bg-white' ,
1414 className ,
1515 ) }
1616 { ...rest }
You can’t perform that action at this time.
0 commit comments