-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Collapse): fix nested collapse icon
- Loading branch information
1 parent
c327961
commit 7a6842a
Showing
4 changed files
with
69 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
docs/**/* | ||
/index.js | ||
/index-with-locales.js | ||
|
||
*.scss |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# 基本 | ||
|
||
- order: 6 | ||
|
||
:::lang=en-us | ||
# Nested Collapse | ||
|
||
- order: 6 | ||
|
||
::: | ||
|
||
|
||
--- | ||
|
||
````jsx | ||
import { Collapse } from '@alifd/next'; | ||
|
||
const Panel = Collapse.Panel; | ||
|
||
ReactDOM.render( | ||
<div> | ||
<Collapse> | ||
<Panel title="simple tile"> | ||
<Collapse> | ||
<Panel title="simple tile"> | ||
<ul> | ||
<li>Promotions are marketing campaigns ran by Marketplace</li> | ||
<li>Participate to sale your products during that promotion and make a profit</li> | ||
</ul> | ||
</Panel> | ||
<Panel title="What are Promotion Products?"> | ||
<ul> | ||
<li>Promotion Products is a service that helps you to promote products you list on Marketplace during a certain time range</li> | ||
<li>You can choose which products should be available for the promotion</li> | ||
<li>Not all Products of you will be available, because Promotions will only attract certain Product areas</li> | ||
</ul> | ||
</Panel> | ||
<Panel title="Why can i not submit a higher price?"> | ||
<ul> | ||
<li>The Promotion requires a certain price to make sure that our customers are attracted</li> | ||
</ul> | ||
</Panel> | ||
<Panel title="What is Promo Stock?"> | ||
Promo Stock is the criteria needed to be followed to be able to join Promotion. With setting particular Promo Stock value you commit to have this amount of stock available while Promotion is active. | ||
</Panel> | ||
</Collapse> | ||
</Panel> | ||
<Panel title="What are Promotion Products?"> | ||
<ul> | ||
<li>Promotion Products is a service that helps you to promote products you list on Marketplace during a certain time range</li> | ||
<li>You can choose which products should be available for the promotion</li> | ||
<li>Not all Products of you will be available, because Promotions will only attract certain Product areas</li> | ||
</ul> | ||
</Panel> | ||
|
||
</Collapse> | ||
</div>, | ||
mountNode); | ||
```` |
This file contains 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
This file contains 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