Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
299 changes: 299 additions & 0 deletions src/components.d.ts

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/components/app/demo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export class SmoothlyAppDemo {
<smoothly-app-room path="/form" label="Forms" content={<smoothly-form-demo />} />
<smoothly-app-room path="/input" label="Inputs" content={<smoothly-input-demo />} />
<smoothly-app-room path="/table" label="Tables" content={<smoothly-table-demo />} />
<smoothly-app-room path="/functional" label="Functional" content={<smoothly-table-functional-demo />} />
<smoothly-app-room path="/button" label="Buttons" content={<smoothly-button-demo />} />
<smoothly-app-room path="/icon" label="Icons" content={<smoothly-icon-demo />} />
<smoothly-app-room path="/theme" label="Theming" content={<smoothly-theme-demo />} />
Expand Down
13 changes: 13 additions & 0 deletions src/components/table-functional/cell/smoothlyTableCell.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { FunctionalComponent, h } from "@stencil/core"

interface SmoothlyTableFunctionalProps {
title?: string
}

export const SmoothlyTableFunctionalCell: FunctionalComponent<SmoothlyTableFunctionalProps> = ({ title }, children) => {
return (
<div class="smoothly-table-functional-cell" title={title}>
{children}
</div>
)
}
Loading