File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export interface SegmentedProps extends React.HTMLProps<HTMLDivElement> {
37
37
motionName ?: string ;
38
38
}
39
39
40
- function getValidtitle ( option : SegmentedLabeledOption ) {
40
+ function getValidTitle ( option : SegmentedLabeledOption ) {
41
41
if ( typeof option . title !== 'undefined' ) {
42
42
return option . title ;
43
43
}
@@ -51,11 +51,11 @@ function getValidtitle(option: SegmentedLabeledOption) {
51
51
function normalizeOptions ( options : SegmentedOptions ) : SegmentedLabeledOption [ ] {
52
52
return options . map ( ( option ) => {
53
53
if ( typeof option === 'object' && option !== null ) {
54
- const validtitle = getValidtitle ( option ) ;
54
+ const validTitle = getValidTitle ( option ) ;
55
55
56
56
return {
57
57
...option ,
58
- title : validtitle ,
58
+ title : validTitle ,
59
59
} ;
60
60
}
61
61
You can’t perform that action at this time.
0 commit comments