Skip to content

Commit

Permalink
refactor: migrate to ts (carbon-design-system#14862)
Browse files Browse the repository at this point in the history
  • Loading branch information
k-rajat19 authored Oct 16, 2023
1 parent 95250c2 commit f07c9e3
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,18 @@ import PropTypes from 'prop-types';
import React from 'react';
import { usePrefix } from '../../internal/usePrefix';

export interface SideNavDetailsProps {
children?: React.ReactNode;
className?: string;
title: string;
}

const SideNavDetails = ({
children,
className: customClassName,
title,
...rest
}) => {
}: SideNavDetailsProps) => {
const prefix = usePrefix();
const className = cx(`${prefix}--side-nav__details`, customClassName);
return (
Expand Down

0 comments on commit f07c9e3

Please sign in to comment.