add periodic table

This commit is contained in:
end-4
2024-04-15 23:55:37 +07:00
parent 326b714250
commit c1d65beb42
8 changed files with 451 additions and 180 deletions
@@ -173,6 +173,7 @@ export const ExpandingIconTabContainer = ({
icons, names, children, className = '',
setup = () => { }, onChange = () => { },
tabsHpack = 'center', tabSwitcherClassName = '',
transitionDuration = userOptions.animations.durationLarge,
...rest
}) => {
const shownIndex = Variable(0);
@@ -241,6 +242,7 @@ export const ExpandingIconTabContainer = ({
});
const contentStack = Stack({
transition: 'slide_left_right',
transitionDuration: transitionDuration,
children: children.reduce((acc, currentValue, index) => {
acc[index] = currentValue;
return acc;