chore: update package.json and TypeScript configuration across multiple packages
- Added linting and type-checking scripts to package.json for api, web, and ui packages. - Updated ESLint configuration to ignore specific directories and added global window variable. - Modified TypeScript configuration for ui package to exclude turbo generators. - Refactored Button, Card, and Code components to use props for better readability and consistency.
This commit is contained in:
parent
f55f3e8c31
commit
7d4796c8eb
8 changed files with 22 additions and 20 deletions
|
@ -1,11 +1,8 @@
|
|||
import { type JSX } from 'solid-js/jsx-runtime';
|
||||
|
||||
export function Code({
|
||||
children,
|
||||
className,
|
||||
}: {
|
||||
export function Code(props: {
|
||||
children: JSX.Element;
|
||||
className?: string;
|
||||
}): JSX.Element {
|
||||
return <code class={className}>{children}</code>;
|
||||
return <code class={props.className}>{props.children}</code>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue