Skip to content

Commit

Permalink
added default exports for all components
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosammito committed Apr 29, 2024
1 parent 327aaf7 commit 4c7d464
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
6 changes: 4 additions & 2 deletions src/components/quote/Quote.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface QuoteType extends Omit<CardType, "children"> {
inlineBorder?: boolean
}

export const Quote: React.FC<QuoteType> = (props) => {
const Quote: React.FC<QuoteType> = (props) => {
const {logo, name, position, inlineBorder = true, children, ...args} = props;
return <Card {...args}>
<div className={"quote"}>
Expand All @@ -31,4 +31,6 @@ export const Quote: React.FC<QuoteType> = (props) => {
</Card.Section>
</div>
</Card>
}
}

export default Quote;
19 changes: 15 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
export { default as Input } from "./components/input/Input";
export { default as Dropdown} from "./components/dropdown/Dropdown"
export { default as ButtonGroup} from "./components/button-group/ButtonGroup"
export { default as Alert} from "./components/alert/Alert"
export { default as Badge} from "./components/badge/Badge"
export { default as Button} from "./components/button/Button"
export { default as Alert} from "./components/alert/Alert"
export { default as ButtonGroup} from "./components/button-group/ButtonGroup"
export { default as Card} from "./components/card/Card"
export { default as Col} from "./components/col/Col"
export { default as Container} from "./components/container/Container"
export { default as Dropdown} from "./components/dropdown/Dropdown"
export { default as Text} from "./components/FontSizes/Text"
export { default as Input } from "./components/input/Input";
export { default as ListGroup} from "./components/list-group/ListGroup"
export { default as Menu} from "./components/menu/Menu"
export { default as Popover} from "./components/popover/Popover"
export { default as Quote} from "./components/quote/Quote"
export { default as Row} from "./components/row/Row"
export { default as Tooltip} from "./components/tooltip/Tooltip"

0 comments on commit 4c7d464

Please sign in to comment.