Created
March 18, 2024 00:43
-
-
Save JenniferFuBook/e271c151f78d9b77aff82ba8c8042ea7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { DatePicker } from 'antd'; | |
import { ConfigProvider, theme } from 'antd'; | |
function App() { | |
return ( | |
<ConfigProvider theme={{ algorithm: theme.darkAlgorithm }}> | |
<DatePicker /> | |
</ConfigProvider> | |
); | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment