|
@@ -1,4 +1,4 @@
|
|
|
-import * as React from 'react';
|
|
|
+import styled from '@emotion/styled';
|
|
|
import classnames from 'classnames';
|
|
|
|
|
|
interface NavProps extends React.HTMLAttributes<HTMLUListElement> {
|
|
@@ -10,7 +10,11 @@ function NavTabs({underlined, className, ...tabProps}: NavProps) {
|
|
|
'border-bottom': underlined,
|
|
|
});
|
|
|
|
|
|
- return <ul className={mergedClassName} {...tabProps} />;
|
|
|
+ return <Wrap className={mergedClassName} {...tabProps} />;
|
|
|
}
|
|
|
|
|
|
export default NavTabs;
|
|
|
+
|
|
|
+const Wrap = styled('ul')`
|
|
|
+ font-size: ${p => p.theme.fontSizeMedium};
|
|
|
+`;
|