UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

23 lines (22 loc) 770 B
import React from "react"; export type CellPropsType = { children?: React.ReactNode; divided?: boolean; className?: string; }; export type CellSoftPropsType = { children?: React.ReactNode; softDivided?: boolean; className?: string; }; export type CellsPropsType = { content: CellPropsType["children"][]; } & Omit<CellPropsType, "children">; export type CellsSoftPropsType = { content: CellSoftPropsType["children"][]; } & Omit<CellSoftPropsType, "children">; declare function Cell(props: CellPropsType): JSX.Element; declare function Cell(props: CellSoftPropsType): JSX.Element; export declare function Cells(props: CellsPropsType): JSX.Element; export declare function Cells(props: CellsSoftPropsType): JSX.Element; export default Cell;