Page MenuHomec4science

useThemeProps.js
No OneTemporary

File Metadata

Created
Mon, Jan 27, 10:29

useThemeProps.js

import getThemeProps from './getThemeProps';
import useTheme from '../useTheme';
export default function useThemeProps({
props,
name,
defaultTheme
}) {
const theme = useTheme(defaultTheme);
const mergedProps = getThemeProps({
theme,
name,
props
});
return mergedProps;
}

Event Timeline