move pill divider in react and fix the bg
parent
7eab7fbcf4
commit
f2f4b4be70
@ -0,0 +1,16 @@
|
|||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
interface ReceivedProps {
|
||||||
|
text: string;
|
||||||
|
}
|
||||||
|
type Props = ReceivedProps;
|
||||||
|
|
||||||
|
export const PillDivider: React.SFC<Props> = props => {
|
||||||
|
return (
|
||||||
|
<div className="panel-text-divider">
|
||||||
|
<div className="panel-text-divider-line" />
|
||||||
|
<span>{props.text}</span>
|
||||||
|
<div className="panel-text-divider-line" />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
Loading…
Reference in New Issue