Skip to content

Commit

Permalink
Export a bunch of types
Browse files Browse the repository at this point in the history
  • Loading branch information
tigercat2000 committed Jan 24, 2025
1 parent 2365c98 commit 6d096b8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/components/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { type BooleanLike, classes } from '../common/react';
import { computeBoxClassName, computeBoxProps } from '../common/ui';
import type { BoxProps } from './Box';

type Props = {
export type Props = {
/** Icon name. @see https://fontawesome.com/v6/search?o=r&m=free */
name: string;
} & Partial<{
Expand Down
2 changes: 1 addition & 1 deletion lib/components/Stack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
computeFlexProps,
} from './Flex';

type Props = Partial<{
export type Props = Partial<{
/** Fills available space. */
fill: boolean;
/** Reverses the stack. */
Expand Down
5 changes: 5 additions & 0 deletions lib/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export { Autofocus } from './Autofocus';
export { Blink } from './Blink';
export { BlockQuote } from './BlockQuote';
export { Box } from './Box';
export type { BoxProps } from './Box';
export { Button } from './Button';
export { ByondUi } from './ByondUi';
export { Chart } from './Chart';
Expand All @@ -16,10 +17,13 @@ export { DraggableControl } from './DraggableControl';
export { Dropdown } from './Dropdown';
export { FitText } from './FitText';
export { Flex } from './Flex';
export type { FlexProps, FlexItemProps } from './Flex';
export { Icon } from './Icon';
export type { Props as IconProps } from './Icon';
export { Image } from './Image';
export { ImageButton } from './ImageButton';
export { InfinitePlane } from './InfinitePlane';
export type { InfinitePlaneProps } from './InfinitePlane';
export { Input } from './Input';
export { KeyListener } from './KeyListener';
export { Knob } from './Knob';
Expand All @@ -36,6 +40,7 @@ export { RoundGauge } from './RoundGauge';
export { Section } from './Section';
export { Slider } from './Slider';
export { Stack } from './Stack';
export type { Props as StackProps } from './Stack';
export { StyleableSection } from './StyleableSection';
export { Table } from './Table';
export { Tabs } from './Tabs';
Expand Down

0 comments on commit 6d096b8

Please sign in to comment.