mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-03-22 19:07:48 +01:00
11 lines
369 B
TypeScript
11 lines
369 B
TypeScript
|
import React, { ComponentProps } from 'react';
|
||
|
import { Text, as } from 'folds';
|
||
|
import classNames from 'classnames';
|
||
|
import * as css from './styles.css';
|
||
|
|
||
|
export const NavItemContent = as<'p', ComponentProps<typeof Text>>(
|
||
|
({ className, ...props }, ref) => (
|
||
|
<Text className={classNames(css.NavItemContent, className)} size="T400" {...props} ref={ref} />
|
||
|
)
|
||
|
);
|