@bitrise/bitkit 9.28.2 → 9.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Components/Dot/Dot.stories.tsx +15 -0
- package/src/Components/Dot/Dot.tsx +14 -0
- package/src/index.ts +3 -0
- package/src/old.ts +0 -3
- package/src/tsconfig.tsbuildinfo +1 -1
- package/src/Old/Dot/Dot.css +0 -3
- package/src/Old/Dot/Dot.tsx +0 -19
package/src/Old/Dot/Dot.css
DELETED
package/src/Old/Dot/Dot.tsx
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import Base, { Props as BaseProps, TypeColors } from '../Base/Base';
|
|
3
|
-
import './Dot.css';
|
|
4
|
-
|
|
5
|
-
export interface Props extends BaseProps {
|
|
6
|
-
/** Color of the dot. Any of the palette colors is acceptable */
|
|
7
|
-
backgroundColor?: TypeColors;
|
|
8
|
-
/** Size of the dot */
|
|
9
|
-
size: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/** A simple coloured dot. */
|
|
13
|
-
const Dot: React.FunctionComponent<Props> = (props: Props) => {
|
|
14
|
-
const { backgroundColor, size, ...rest } = props;
|
|
15
|
-
|
|
16
|
-
return <Base {...rest} backgroundColor={backgroundColor} className="Dot" height={size} width={size} />;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export default Dot;
|