@@ -66,7 +66,7 @@ const BREAKPOINTS = [
6666
6767export const CCol = forwardRef < HTMLDivElement , CColProps > (
6868 ( { children, className, ...rest } , ref ) => {
69- const repsonsiveCLassNames : string [ ] = [ ]
69+ const repsonsiveClassNames : string [ ] = [ ]
7070
7171 BREAKPOINTS . forEach ( ( bp ) => {
7272 const breakpoint = rest [ bp ]
@@ -75,34 +75,34 @@ export const CCol = forwardRef<HTMLDivElement, CColProps>(
7575 const infix = bp === 'xs' ? '' : `-${ bp } `
7676
7777 if ( typeof breakpoint === 'number' || typeof breakpoint === 'string' ) {
78- repsonsiveCLassNames . push ( `col${ infix } -${ breakpoint } ` )
78+ repsonsiveClassNames . push ( `col${ infix } -${ breakpoint } ` )
7979 }
8080
8181 if ( typeof breakpoint === 'boolean' ) {
82- repsonsiveCLassNames . push ( `col${ infix } ` )
82+ repsonsiveClassNames . push ( `col${ infix } ` )
8383 }
8484
8585 if ( breakpoint && typeof breakpoint === 'object' ) {
8686 if ( typeof breakpoint . span === 'number' || typeof breakpoint . span === 'string' ) {
87- repsonsiveCLassNames . push ( `col${ infix } -${ breakpoint . span } ` )
87+ repsonsiveClassNames . push ( `col${ infix } -${ breakpoint . span } ` )
8888 }
8989
9090 if ( typeof breakpoint . span === 'boolean' ) {
91- repsonsiveCLassNames . push ( `col${ infix } ` )
91+ repsonsiveClassNames . push ( `col${ infix } ` )
9292 }
9393
9494 if ( typeof breakpoint . order === 'number' || typeof breakpoint . order === 'string' ) {
95- repsonsiveCLassNames . push ( `order${ infix } -${ breakpoint . order } ` )
95+ repsonsiveClassNames . push ( `order${ infix } -${ breakpoint . order } ` )
9696 }
9797
9898 if ( typeof breakpoint . offset === 'number' ) {
99- repsonsiveCLassNames . push ( `offset${ infix } -${ breakpoint . offset } ` )
99+ repsonsiveClassNames . push ( `offset${ infix } -${ breakpoint . offset } ` )
100100 }
101101 }
102102 } )
103103
104104 const _className = classNames (
105- repsonsiveCLassNames . length ? repsonsiveCLassNames : 'col' ,
105+ repsonsiveClassNames . length ? repsonsiveClassNames : 'col' ,
106106 className ,
107107 )
108108
0 commit comments