File tree Expand file tree Collapse file tree 4 files changed +12
-13
lines changed
Expand file tree Collapse file tree 4 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ export const Filter: FunctionComponent<IFilter> = ({
119119 < FilterContent
120120 hasComponent = { ! ! accompanyingComponent }
121121 spacing = "spacing01"
122- padding = "spacing04"
122+ innerSpacing = "spacing04"
123123 >
124124 { children }
125125 </ FilterContent >
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ export const Modal = ({
136136 < StyledModal { ...props } >
137137 < ModalBox
138138 modalMinWidth = { modalMinWidth }
139- padding = "spacing04"
139+ innerSpacing = "spacing04"
140140 shadow = "shadow04"
141141 >
142142 < ModalHeader >
Original file line number Diff line number Diff line change @@ -18,30 +18,29 @@ interface PageTitleBreadcrumbsProps {
1818
1919const PageTitleWrapper = styled . div `
2020 h3 {
21- line-height:2rem;
21+ line-height: 2rem;
2222 font-weight: ${ theme . fontWeights . medium } ;
2323 margin: 0 0 ${ theme . spacing . spacing01 } ;
2424 }
2525` ;
2626
27- export const PageTitle : FunctionComponent < PageTitleProps > = ( {
28- title
29- } ) => {
27+ export const PageTitle : FunctionComponent < PageTitleProps > = ( { title } ) => {
3028 return (
3129 < PageTitleWrapper >
3230 < Heading level = { 3 } > { title } </ Heading >
3331 </ PageTitleWrapper >
34- ) } ;
35-
32+ ) ;
33+ } ;
3634
37- export const PageTitleBreadcrumbs : FunctionComponent < PageTitleBreadcrumbsProps > = ( {
35+ export const PageTitleBreadcrumbs : FunctionComponent < PageTitleBreadcrumbsProps > = ( {
3836 title,
3937 list,
40- margin
38+ margin,
4139} ) => {
4240 return (
43- < Box padding = "spacing04" shadow = "shadow02" >
41+ < Box innerSpacing = "spacing04" shadow = "shadow02" >
4442 < PageTitle title = { title } />
4543 < Breadcrumbs list = { list } />
4644 </ Box >
47- ) } ;
45+ ) ;
46+ } ;
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ import { Container } from "../components/container";
121121 <Story name = " custom-spacing" >
122122 <Container >
123123 <p >
124- <Button ml = " 3rem" mb = " 10rem" padding = " 0" >
124+ <Button ml = " 3rem" mb = " 10rem" innerSpacing = " 0" >
125125 Disabled button
126126 </Button >
127127 </p >
You can’t perform that action at this time.
0 commit comments