From e89fc056ec87af6ba39007ec60eba9e9bdea5381 Mon Sep 17 00:00:00 2001 From: Himanshu Singh Date: Tue, 17 Oct 2017 09:36:50 +0530 Subject: [PATCH] Update readme to remove a repeating line and fix Markdown style --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fb94c83..faad737 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,6 @@ const shadowOpt = { ``` 3.create a shadow element and set the object to `setting`,and you -**MUST SET ITS PARENTELEMENT RELATIVE**: - **MUST SET ITS PARENTELEMENT RELATIVE**: ```js render = () => { @@ -118,7 +116,7 @@ export default class VideoCell extends Component { #### the attribute we supported now: -###BoxShadow +### BoxShadow + **width**: you must set the value the same as your child component + **height**: the same as above + **color**: the color of shadow,it **doesn't support rgba now**,you may use opacity @@ -129,7 +127,7 @@ export default class VideoCell extends Component { + **y**: the offsetY of shadow + **style**: the style you want to add to the wrapper box -###BorderShadow +### BorderShadow + **width**,**color**,**border**,**opacity**,**style**: these attributes are the same as above + **side**: "top" or "bottom",you can choose where the shadow shows + **inset**: `true` or `false`,this is similar to CSS - `shadow: color inset`