mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-18 03:26:57 +02:00
feat(v2): add isCloseable property for theme-classic announcement bar (#3388)
* feat(v2): add `isCloseable` property for announcement bar * correct styling for non-closeable announcement * fix tests
This commit is contained in:
parent
0d018a88c5
commit
e8e16a45d3
5 changed files with 22 additions and 12 deletions
|
@ -41,6 +41,7 @@ describe('themeConfig', () => {
|
|||
content: 'pls support',
|
||||
backgroundColor: '#fff',
|
||||
textColor: '#000',
|
||||
isCloseable: true,
|
||||
},
|
||||
image: 'img/docusaurus-soc.png',
|
||||
navbar: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue