This repository has been archived by the owner on Sep 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bullets-wrapper): export internal arrow component
This allows to import the styled bullets wrapper-component and overwrite styled-component styles.
- Loading branch information
Showing
4 changed files
with
40 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
|
||
export interface BulletsProps { | ||
children: React.ReactElement; | ||
} | ||
|
||
export type BulletsComponentType = (props: BulletsProps) => React.ReactElement; | ||
|
||
const Bullets = styled.div` | ||
position: absolute; | ||
bottom: 0; | ||
width: 100%; | ||
z-index: 1; | ||
`; | ||
|
||
export default Bullets; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Bullets, { BulletsComponentType, BulletsProps } from "./bullets"; | ||
export default Bullets; | ||
export { BulletsComponentType, BulletsProps }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters