Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const Reset = ({
component = 'div',
className = '',
...restProps
}: ResetProps) => {
const theme = useTheme();
const resetClass = isResetTag(theme.atoms.reset, component)
? theme.atoms.reset[component]
: '';
return React.createElement(component, {
className: useClassNames(className, resetClass),
...restProps,
});
};