Tab.setValue 추가
This commit is contained in:
@@ -4173,6 +4173,10 @@ function Tab() {
|
||||
});
|
||||
}
|
||||
|
||||
function setValue(activeValue){
|
||||
setState({ activeValue });
|
||||
}
|
||||
|
||||
component = {
|
||||
core: {
|
||||
state,
|
||||
@@ -4183,6 +4187,7 @@ function Tab() {
|
||||
},
|
||||
setOffsetLeft,
|
||||
update,
|
||||
setValue,
|
||||
};
|
||||
|
||||
return component;
|
||||
|
||||
Reference in New Issue
Block a user