Page MenuHomec4science

useThemeProps.js
No OneTemporary

File Metadata

Created
Fri, Jan 10, 11:12

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