Ant-design: Ability to place Arrow icon to the right of Collapse Panel

Created on 24 Sep 2017  路  1Comment  路  Source: ant-design/ant-design

What problem does this feature solve?

I am trying to find a way to position the _arrow icon_ to the right of the panel inside a Collapse component but the API does not provide an option to do that. It would be great if Panel provided you the option to choose where to align the arrow icon.

What does the proposed API look like?

<Collapse> <Panel arrow="right" header="This is panel header 1" key="1"> ... </Panel> </Collapse>

>All comments

Just override the CSS.

antd will follow the Ant Design Specification, if you want something that against the specification, just override CSS.

Was this page helpful?
0 / 5 - 0 ratings