feat: Sharing improvements (#1388)
* add migrations * first pass at API * feat: Updated share dialog UI * tests * test * styling tweaks * feat: Show share state on document * fix: Allow publishing share links for draft docs * test: shares.info
This commit is contained in:
@ -22,7 +22,7 @@ function Switch({ width = 38, height = 20, label, ...props }: Props) {
|
||||
return (
|
||||
<Label htmlFor={props.id}>
|
||||
{component}
|
||||
<LabelText> {label}</LabelText>
|
||||
<LabelText>{label}</LabelText>
|
||||
</Label>
|
||||
);
|
||||
}
|
||||
@ -41,6 +41,7 @@ const Wrapper = styled.label`
|
||||
width: ${props => props.width}px;
|
||||
height: ${props => props.height}px;
|
||||
margin-bottom: 4px;
|
||||
margin-right: 8px;
|
||||
`;
|
||||
|
||||
const Slider = styled.span`
|
||||
|
Reference in New Issue
Block a user