styles: 分割线默认样式为实线 (#8052)

* styles: 分割线默认样式为实线

* 更新快照

---------

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>
This commit is contained in:
qkiroc 2023-09-12 10:04:47 +08:00 committed by GitHub
parent 32caeb41b0
commit c78a5818a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -1631,7 +1631,7 @@ exports[`Renderer:combo with items & multiLine 1`] = `
/>
</div>
<div
class="cxd-Divider cxd-Divider--dashed"
class="cxd-Divider cxd-Divider--solid"
/>
<div
class="cxd-Form-item cxd-Form-item--horizontal"

View File

@ -180,7 +180,7 @@ exports[`Renderers:Action all levels 1`] = `
</span>
</button>
<div
class="cxd-Divider cxd-Divider--dashed"
class="cxd-Divider cxd-Divider--solid"
/>
<div
class="cxd-Button cxd-Button--link cxd-Button--size-default is-disabled"

View File

@ -108,7 +108,7 @@ exports[`Renderer:gridnav 1`] = `
</div>
</div>
<div
class="cxd-Divider cxd-Divider--dashed"
class="cxd-Divider cxd-Divider--solid"
/>
<div
class="cxd-GridNav cxd-GridNav-top u-hairline"

View File

@ -472,7 +472,7 @@ exports[`Renderer:images images:basic 1`] = `
</div>
</div>
<div
class="cxd-Divider cxd-Divider--dashed"
class="cxd-Divider cxd-Divider--solid"
/>
<div
class="cxd-ImagesField"

View File

@ -19,7 +19,7 @@ export interface DividerProps
export default class Divider extends React.Component<DividerProps, object> {
static defaultProps: Pick<DividerProps, 'className' | 'lineStyle'> = {
className: '',
lineStyle: 'dashed'
lineStyle: 'solid'
};
render() {